public class SimpleGroovyPackageDoc extends SimpleGroovyDoc implements GroovyPackageDoc
ANNOTATION_DEF, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, TRAIT_DEF| Constructor and Description |
|---|
SimpleGroovyPackageDoc(String name) |
| Modifier and Type | Method and Description |
|---|---|
GroovyClassDoc[] |
allClasses()
All included classes and interfaces in this package.
|
GroovyClassDoc[] |
allClasses(boolean arg0)
All classes and interfaces in this package optionally
limited to just the included ones.
|
String |
description()
Description of the package.
|
GroovyClassDoc[] |
enums()
Included enum types in this package.
|
GroovyClassDoc[] |
errors()
Included errors in this package.
|
GroovyClassDoc[] |
exceptions()
Included exceptions in this package.
|
GroovyClassDoc |
findClass(String arg0)
Find a class or interface within this package.
|
String |
getRelativeRootPath() |
GroovyClassDoc[] |
interfaces()
Included interfaces in this package.
|
String |
nameWithDots() |
GroovyClassDoc[] |
ordinaryClasses()
Included ordinary classes in this package.
|
void |
putAll(Map<String,GroovyClassDoc> classes) |
void |
setDescription(String description) |
void |
setSummary(String summary) |
String |
summary()
The one-sentence summary for the package derived from the beginning of the description.
|
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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcommentText, firstSentenceCommentText, getRawCommentText, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, setRawCommentTextcompareTopublic SimpleGroovyPackageDoc(String name)
public GroovyClassDoc[] allClasses()
GroovyPackageDocallClasses in interface GroovyPackageDocpublic void setDescription(String description)
public void setSummary(String summary)
public void putAll(Map<String,GroovyClassDoc> classes)
public String nameWithDots()
nameWithDots in interface GroovyPackageDocpublic GroovyClassDoc[] allClasses(boolean arg0)
GroovyPackageDocallClasses in interface GroovyPackageDocarg0 - Specifying true filters according to the specified access modifier option.
Specifying false includes all classes and interfaces regardless of access modifier option.public GroovyClassDoc[] enums()
GroovyPackageDocenums in interface GroovyPackageDocpublic GroovyClassDoc[] errors()
GroovyPackageDocerrors in interface GroovyPackageDocpublic GroovyClassDoc[] exceptions()
GroovyPackageDocexceptions in interface GroovyPackageDocpublic GroovyClassDoc findClass(String arg0)
GroovyPackageDocfindClass in interface GroovyPackageDocarg0 - the name of the class to findpublic GroovyClassDoc[] interfaces()
GroovyPackageDocinterfaces in interface GroovyPackageDocpublic GroovyClassDoc[] ordinaryClasses()
GroovyPackageDocordinaryClasses in interface GroovyPackageDocpublic String description()
GroovyPackageDocdescription in interface GroovyPackageDocpublic String summary()
GroovyPackageDocsummary in interface GroovyPackageDocpublic String getRelativeRootPath()
getRelativeRootPath in interface GroovyPackageDoc