Class SimpleGroovyRootDoc
java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc
org.codehaus.groovy.tools.groovydoc.SimpleGroovyRootDoc
- All Implemented Interfaces:
java.lang.Comparable
,GroovyDoc
,GroovyDocErrorReporter
,GroovyRootDoc
public class SimpleGroovyRootDoc extends SimpleGroovyDoc implements GroovyRootDoc
-
Field Summary
Fields inherited from class org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc
ANNOTATION_DEF, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, TRAIT_DEF
-
Constructor Summary
Constructors Constructor Description SimpleGroovyRootDoc(java.lang.String name)
-
Method Summary
Modifier and Type Method Description GroovyClassDoc[]
classes()
GroovyClassDoc
classNamed(GroovyClassDoc groovyClassDoc, java.lang.String name)
GroovyClassDoc
classNamedExact(java.lang.String name)
java.lang.String
description()
java.util.Map<java.lang.String,GroovyClassDoc>
getResolvedClasses()
java.util.Map<java.lang.String,GroovyClassDoc>
getVisibleClasses(java.util.List importedClassesAndPackages)
java.lang.String[][]
options()
GroovyPackageDoc
packageNamed(java.lang.String packageName)
void
printError(java.lang.String arg0)
void
printNotice(java.lang.String arg0)
void
printWarning(java.lang.String arg0)
void
put(java.lang.String packageName, GroovyPackageDoc packageDoc)
void
putAllClasses(java.util.Map<java.lang.String,GroovyClassDoc> classes)
void
resolve()
void
setDescription(java.lang.String description)
GroovyClassDoc[]
specifiedClasses()
GroovyPackageDoc[]
specifiedPackages()
java.lang.String
summary()
Methods inherited from class org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc
calculateFirstSentence, commentText, compareTo, firstSentenceCommentText, getRawCommentText, getTypeDescription, getTypeSourceDescription, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, isScript, isTrait, name, setCommentText, setDeprecated, setFirstSentenceCommentText, setRawCommentText, setScript, setTokenType, tags, tokenType, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.codehaus.groovy.groovydoc.GroovyDoc
commentText, firstSentenceCommentText, getRawCommentText, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, setRawCommentText
-
Constructor Details
-
SimpleGroovyRootDoc
public SimpleGroovyRootDoc(java.lang.String name)
-
-
Method Details
-
classNamed
- Specified by:
classNamed
in interfaceGroovyRootDoc
-
classNamedExact
-
setDescription
public void setDescription(java.lang.String description) -
description
public java.lang.String description() -
summary
public java.lang.String summary() -
classes
- Specified by:
classes
in interfaceGroovyRootDoc
-
options
public java.lang.String[][] options()- Specified by:
options
in interfaceGroovyRootDoc
-
packageNamed
- Specified by:
packageNamed
in interfaceGroovyRootDoc
-
putAllClasses
-
put
-
specifiedClasses
- Specified by:
specifiedClasses
in interfaceGroovyRootDoc
-
specifiedPackages
- Specified by:
specifiedPackages
in interfaceGroovyRootDoc
-
getVisibleClasses
public java.util.Map<java.lang.String,GroovyClassDoc> getVisibleClasses(java.util.List importedClassesAndPackages)- Specified by:
getVisibleClasses
in interfaceGroovyRootDoc
-
getResolvedClasses
- Specified by:
getResolvedClasses
in interfaceGroovyRootDoc
-
printError
public void printError(java.lang.String arg0)- Specified by:
printError
in interfaceGroovyDocErrorReporter
-
printNotice
public void printNotice(java.lang.String arg0)- Specified by:
printNotice
in interfaceGroovyDocErrorReporter
-
printWarning
public void printWarning(java.lang.String arg0)- Specified by:
printWarning
in interfaceGroovyDocErrorReporter
-
resolve
public void resolve()
-