public class SimpleGroovyPackageDoc
extends SimpleGroovyDoc
implements GroovyPackageDoc
Default GroovyPackageDoc implementation.
| Fields inherited from class | Fields |
|---|---|
class SimpleGroovyDoc |
ANNOTATION_DEF, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, RECORD_DEF, TRAIT_DEF |
| Constructor and description |
|---|
SimpleGroovyPackageDoc(String name)Creates a documented package with the supplied name. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public GroovyClassDoc[] |
allClasses()All included classes and interfaces in this package.
|
|
public GroovyClassDoc[] |
allClasses(boolean arg0)All classes and interfaces in this package optionally limited to just the included ones.
|
|
public String |
description()Description of the package.
|
|
public GroovyClassDoc[] |
enums()Included enum types in this package.
|
|
public GroovyClassDoc[] |
errors()Included errors in this package.
|
|
public GroovyClassDoc[] |
exceptions()Included exceptions in this package.
|
|
public GroovyClassDoc |
findClass(String arg0)Find a class or interface within this package.
|
|
public String |
getRelativeRootPath() |
|
public GroovyClassDoc[] |
interfaces()Included interfaces in this package.
|
|
public String |
nameWithDots() |
|
public GroovyClassDoc[] |
ordinaryClasses()Included ordinary classes in this package.
|
|
public void |
putAll(Map<String, GroovyClassDoc> classes)Adds all supplied classes to this package and back-links them to the package. |
|
public void |
setDescription(String description)Sets the package description text. |
|
public void |
setSummary(String summary)Sets the package summary text. |
|
public String |
summary()The one-sentence summary for the package derived from the beginning of the description.
|
| Methods inherited from class | Name |
|---|---|
class SimpleGroovyDoc |
calculateFirstSentence, commentText, compareTo, firstSentenceCommentText, getRawCommentText, getTypeDescription, getTypeSourceDescription, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isHidden, isIncluded, isInterface, isMarkdown, isMethod, isOrdinaryClass, isRecord, isScript, isTrait, name, setCommentText, setDeprecated, setFirstSentenceCommentText, setHidden, setMarkdown, setRawCommentText, setScript, setTokenType, tags, toString, tokenType |
Creates a documented package with the supplied name.
name - the package nameAll included classes and interfaces in this package.
All classes and interfaces in this package optionally limited to just the included ones.
filter - Specifying true filters according to the specified access modifier option.
Specifying false includes all classes and interfaces regardless of access modifier option.Description of the package.
Included enum types in this package.
Included errors in this package.
Included exceptions in this package.
Find a class or interface within this package.
className - the name of the class to find
Included interfaces in this package.
Included ordinary classes in this package.
Adds all supplied classes to this package and back-links them to the package.
classes - the classes to addSets the package description text.
description - the package descriptionSets the package summary text.
summary - the package summaryThe one-sentence summary for the package derived from the beginning of the description.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.