public interface GroovyClassDoc
extends GroovyProgramElementDoc, GroovyType
Describes a Groovy type together with the members and relationships needed to render its documentation.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public GroovyConstructorDoc[] |
constructors()Returns the constructors declared by this type. |
|
public GroovyConstructorDoc[] |
constructors(boolean filter)Returns the constructors declared by this type, optionally applying the active visibility filter. |
|
public boolean |
definesSerializableFields()Indicates whether this type explicitly defines serializable fields metadata. |
|
public GroovyFieldDoc[] |
enumConstants()Returns the enum constants declared by this type. |
|
public GroovyFieldDoc[] |
fields()Returns the fields declared by this type. |
|
public GroovyFieldDoc[] |
fields(boolean filter)Returns the fields declared by this type, optionally applying the active visibility filter. |
|
public GroovyClassDoc |
findClass(String className)Resolves a referenced class name from the context of this type. |
|
public String |
getFullPathName() |
|
public String |
getRelativeRootPath() |
|
public GroovyClassDoc[] |
importedClasses()Returns the explicitly imported classes visible to this type. |
|
public GroovyPackageDoc[] |
importedPackages()Returns the imported packages visible to this type. |
|
public GroovyClassDoc[] |
innerClasses()Returns the nested classes declared by this type. |
|
public GroovyClassDoc[] |
innerClasses(boolean filter)Returns the nested classes declared by this type, optionally applying the active visibility filter. |
|
public GroovyType[] |
interfaceTypes()Returns the interface types directly implemented or extended by this type. |
|
public GroovyClassDoc[] |
interfaces()Returns the interfaces directly implemented or extended by this type. |
|
public boolean |
isAbstract()Indicates whether this type is declared abstract. |
|
public boolean |
isExternalizable()Indicates whether this type implements Externalizable. |
|
public boolean |
isSerializable()Indicates whether this type implements Serializable. |
|
public GroovyMethodDoc[] |
methods()Returns the methods declared by this type. |
|
public GroovyMethodDoc[] |
methods(boolean filter)Returns the methods declared by this type, optionally applying the active visibility filter. |
|
public GroovyFieldDoc[] |
properties()Returns the Groovy properties declared by this type. |
|
public GroovyFieldDoc[] |
serializableFields()Returns the fields that participate in serialization. |
|
public GroovyMethodDoc[] |
serializationMethods()Returns the methods related to custom serialization. |
|
public boolean |
subclassOf(GroovyClassDoc gcd)Determines whether this type is a subclass of the supplied candidate. |
|
public GroovyClassDoc |
superclass()Returns the direct superclass of this type. |
|
public GroovyType |
superclassType()Returns the direct superclass as a type reference. |
| Methods inherited from class | Name |
|---|---|
interface GroovyProgramElementDoc |
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifierSpecifier, modifiers, qualifiedName |
interface GroovyType |
isPrimitive, qualifiedTypeName, simpleTypeName, toString, typeName |
Returns the constructors declared by this type.
Returns the constructors declared by this type, optionally applying the active visibility filter.
filter - true to include only visible constructors, false to include all constructorsIndicates whether this type explicitly defines serializable fields metadata.
true if serializable fields are defined explicitlyReturns the enum constants declared by this type.
Returns the fields declared by this type.
Returns the fields declared by this type, optionally applying the active visibility filter.
filter - true to include only visible fields, false to include all fieldsResolves a referenced class name from the context of this type.
className - the class name to resolvenull if it cannot be resolvedReturns the explicitly imported classes visible to this type.
Returns the imported packages visible to this type.
Returns the nested classes declared by this type.
Returns the nested classes declared by this type, optionally applying the active visibility filter.
filter - true to include only visible nested classes, false to include all nested classesReturns the interface types directly implemented or extended by this type.
Returns the interfaces directly implemented or extended by this type.
Indicates whether this type is declared abstract.
true if this type is abstractIndicates whether this type implements Externalizable.
true if this type is externalizableIndicates whether this type implements Serializable.
true if this type is serializableReturns the methods declared by this type.
Returns the methods declared by this type, optionally applying the active visibility filter.
filter - true to include only visible methods, false to include all methodsReturns the Groovy properties declared by this type.
Returns the fields that participate in serialization.
Returns the methods related to custom serialization.
Determines whether this type is a subclass of the supplied candidate.
gcd - the candidate superclasstrue if this type is a subclass of gcdReturns the direct superclass of this type.
null if none existsReturns the direct superclass as a type reference.
null if none exists