public interface GroovyRootDoc
extends GroovyDoc, GroovyDocErrorReporter
Root object for a Groovydoc run, exposing the discovered packages, classes, and diagnostics APIs.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public GroovyClassDoc |
classNamed(GroovyClassDoc groovyClassDoc, String name)Resolves a class name from the perspective of another documented class. |
|
public GroovyClassDoc[] |
classes()Returns all classes known to this documentation run. |
|
public Map<String, GroovyClassDoc> |
getResolvedClasses()Returns the classes that have already been resolved for the current documentation run. |
|
public Map<String, GroovyClassDoc> |
getVisibleClasses(List importedClassesAndPackages)Returns the classes visible from a set of imports. |
|
public String[] |
options()Returns the effective tool options associated with this documentation run. |
|
public GroovyPackageDoc |
packageNamed(String arg0)Resolves a package by name. |
|
public GroovyClassDoc[] |
specifiedClasses()Returns the classes explicitly specified as documentation targets. |
|
public GroovyPackageDoc[] |
specifiedPackages()Returns the packages explicitly specified as documentation targets. |
| Methods inherited from class | Name |
|---|---|
interface GroovyDoc |
commentText, firstSentenceCommentText, getRawCommentText, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, isRecord, name, setRawCommentText |
interface GroovyDocErrorReporter |
printError, printNotice, printWarning |
Resolves a class name from the perspective of another documented class.
groovyClassDoc - the class providing the lookup contextname - the class name to resolvenull if it cannot be resolvedReturns all classes known to this documentation run.
Returns the classes that have already been resolved for the current documentation run.
Returns the classes visible from a set of imports.
importedClassesAndPackages - the imported classes and packages to evaluateReturns the effective tool options associated with this documentation run.
Resolves a package by name.
arg0 - the package name to resolvenull if none existsReturns the classes explicitly specified as documentation targets.
Returns the packages explicitly specified as documentation targets.