public class SimpleGroovyClassDoc
extends SimpleGroovyAbstractableElementDoc
implements GroovyClassDoc
| Modifiers | Name | Description |
|---|---|---|
static Pattern |
CODE_REGEX |
|
static String |
DOCROOT_PATTERN |
|
static String |
DOCROOT_PATTERN2 |
|
static Pattern |
NAME_ARGS_REGEX |
|
static Pattern |
REF_LABEL_REGEX |
|
static Pattern |
SPLIT_ARGS_REGEX |
| Fields inherited from class | Fields |
|---|---|
class SimpleGroovyDoc |
ANNOTATION_DEF, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, RECORD_DEF, TRAIT_DEF |
| Constructor and description |
|---|
SimpleGroovyClassDoc(List<String> importedClassesAndPackages, Map<String, String> aliases, String name, List<LinkArgument> links) |
SimpleGroovyClassDoc(List<String> importedClassesAndPackages, Map<String, String> aliases, String name) |
SimpleGroovyClassDoc(List<String> importedClassesAndPackages, String name) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
add(GroovyConstructorDoc constructor) |
|
public boolean |
add(GroovyFieldDoc field) |
|
public boolean |
add(GroovyMethodDoc method) |
|
public boolean |
addEnumConstant(GroovyFieldDoc field) |
|
public void |
addInterfaceName(String className) |
|
public boolean |
addNested(GroovyClassDoc nestedClass) |
|
public boolean |
addProperty(GroovyFieldDoc property) |
|
public String |
commentText() |
|
public GroovyConstructorDoc[] |
constructors()returns a sorted array of constructors |
|
public GroovyConstructorDoc[] |
constructors(boolean filter) |
|
public boolean |
definesSerializableFields() |
|
public static String |
encodeAngleBrackets(String text) |
|
public static String |
encodeAngleBracketsInTagBody(String text, Pattern regex)Replaces angle brackets inside a tag. |
|
public GroovyFieldDoc[] |
enumConstants()returns a sorted array of enum constants |
|
public GroovyFieldDoc[] |
fields()returns a sorted array of fields |
|
public GroovyFieldDoc[] |
fields(boolean filter) |
|
public GroovyClassDoc |
findClass(String className) |
|
public String |
firstSentenceCommentText() |
|
public String |
getDocUrl(String type) |
|
public String |
getDocUrl(String type, boolean full) |
|
public static String |
getDocUrl(String type, boolean full, List<LinkArgument> links, String relativePath, GroovyRootDoc rootDoc, SimpleGroovyClassDoc classDoc) |
|
public String |
getFullPathName() |
|
public String |
getNameWithTypeArgs() |
|
public GroovyClassDoc |
getOuter() |
|
public List<GroovyClassDoc> |
getParentClasses() |
|
public Set<GroovyClassDoc> |
getParentInterfaces() |
|
public String |
getRelativeRootPath() |
|
public String |
getSuperClassName() |
|
public GroovyClassDoc[] |
importedClasses() |
|
public GroovyPackageDoc[] |
importedPackages() |
|
public GroovyClassDoc[] |
innerClasses()returns a sorted array of nested classes and interfaces |
|
public GroovyClassDoc[] |
innerClasses(boolean filter) |
|
public GroovyType[] |
interfaceTypes() |
|
public GroovyClassDoc[] |
interfaces() |
|
public boolean |
isExternalizable() |
|
public boolean |
isGroovy() |
|
public boolean |
isPrimitive() |
|
public boolean |
isSerializable() |
|
public GroovyMethodDoc[] |
methods()returns a sorted array of methods |
|
public GroovyMethodDoc[] |
methods(boolean filter) |
|
public GroovyFieldDoc[] |
properties()returns a sorted array of properties |
|
public String |
qualifiedTypeName() |
|
public String |
replaceTags(String comment) |
|
public String |
replaceTags(String comment, GroovyMemberDoc memberDoc)GROOVY-3782 / GROOVY-6016: overload that threads the current member through to TagRenderer so inline tags that need the enclosing member context (e.g. |
|
public GroovyFieldDoc[] |
serializableFields() |
|
public GroovyMethodDoc[] |
serializationMethods() |
|
public void |
setFullPathName(String fullPathName) |
|
public void |
setGroovy(boolean isgroovy) |
|
public void |
setNameWithTypeArgs(String nameWithTypeArgs) |
|
public void |
setOuter(GroovyClassDoc outer) |
|
public void |
setSuperClass(GroovyClassDoc doc) |
|
public void |
setSuperClassName(String className) |
|
public String |
simpleTypeName() |
|
public boolean |
subclassOf(GroovyClassDoc gcd) |
|
public GroovyClassDoc |
superclass() |
|
public GroovyType |
superclassType() |
|
public String |
typeName() |
returns a sorted array of constructors
Replaces angle brackets inside a tag.
text - GroovyDoc text to processregex - has to capture tag name in group 1 and tag body in group 2returns a sorted array of enum constants
returns a sorted array of fields
returns a sorted array of nested classes and interfaces
returns a sorted array of methods
returns a sorted array of properties
GROOVY-3782 / GROOVY-6016: overload that threads the current member
through to TagRenderer so inline tags that need the enclosing
member context (e.g. {@inheritDoc} needs the current method
to find its overridden parent) can resolve.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.