Class ExternalGroovyClassDoc
- java.lang.Object
-
- org.codehaus.groovy.tools.groovydoc.ExternalGroovyClassDoc
-
- All Implemented Interfaces:
Comparable
,GroovyClassDoc
,GroovyDoc
,GroovyProgramElementDoc
,GroovyType
public class ExternalGroovyClassDoc extends Object implements GroovyClassDoc
Represents a class not in the codebase being processed.
-
-
Constructor Summary
Constructors Constructor Description ExternalGroovyClassDoc(Class externalClass)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.groovy.groovydoc.GroovyType
toString
-
-
-
-
Constructor Detail
-
ExternalGroovyClassDoc
public ExternalGroovyClassDoc(Class externalClass)
-
-
Method Detail
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interfaceGroovyType
-
annotations
public GroovyAnnotationRef[] annotations()
- Specified by:
annotations
in interfaceGroovyProgramElementDoc
-
qualifiedTypeName
public String qualifiedTypeName()
Description copied from interface:GroovyType
The qualified name of this type excluding any dimension information. For example, a two dimensional array of String returns "java.lang.String
".- Specified by:
qualifiedTypeName
in interfaceGroovyType
-
superclass
public GroovyClassDoc superclass()
- Specified by:
superclass
in interfaceGroovyClassDoc
-
externalClass
public Class externalClass()
-
getTypeSourceDescription
public String getTypeSourceDescription()
-
simpleTypeName
public String simpleTypeName()
Description copied from interface:GroovyType
The unqualified name of this type excluding any dimension or nesting information. For example, the classOuter.Inner
returns "Inner
".- Specified by:
simpleTypeName
in interfaceGroovyType
-
typeName
public String typeName()
Description copied from interface:GroovyType
The unqualified name of this type excluding any dimension information. For example, a two dimensional array of String returns "String
".- Specified by:
typeName
in interfaceGroovyType
-
superclassType
public GroovyType superclassType()
- Specified by:
superclassType
in interfaceGroovyClassDoc
-
constructors
public GroovyConstructorDoc[] constructors()
- Specified by:
constructors
in interfaceGroovyClassDoc
-
constructors
public GroovyConstructorDoc[] constructors(boolean filter)
- Specified by:
constructors
in interfaceGroovyClassDoc
-
definesSerializableFields
public boolean definesSerializableFields()
- Specified by:
definesSerializableFields
in interfaceGroovyClassDoc
-
enumConstants
public GroovyFieldDoc[] enumConstants()
- Specified by:
enumConstants
in interfaceGroovyClassDoc
-
fields
public GroovyFieldDoc[] fields()
- Specified by:
fields
in interfaceGroovyClassDoc
-
properties
public GroovyFieldDoc[] properties()
- Specified by:
properties
in interfaceGroovyClassDoc
-
fields
public GroovyFieldDoc[] fields(boolean filter)
- Specified by:
fields
in interfaceGroovyClassDoc
-
findClass
public GroovyClassDoc findClass(String className)
- Specified by:
findClass
in interfaceGroovyClassDoc
-
importedClasses
public GroovyClassDoc[] importedClasses()
- Specified by:
importedClasses
in interfaceGroovyClassDoc
-
importedPackages
public GroovyPackageDoc[] importedPackages()
- Specified by:
importedPackages
in interfaceGroovyClassDoc
-
innerClasses
public GroovyClassDoc[] innerClasses()
- Specified by:
innerClasses
in interfaceGroovyClassDoc
-
innerClasses
public GroovyClassDoc[] innerClasses(boolean filter)
- Specified by:
innerClasses
in interfaceGroovyClassDoc
-
interfaces
public GroovyClassDoc[] interfaces()
- Specified by:
interfaces
in interfaceGroovyClassDoc
-
interfaceTypes
public GroovyType[] interfaceTypes()
- Specified by:
interfaceTypes
in interfaceGroovyClassDoc
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceGroovyClassDoc
-
isExternalizable
public boolean isExternalizable()
- Specified by:
isExternalizable
in interfaceGroovyClassDoc
-
isSerializable
public boolean isSerializable()
- Specified by:
isSerializable
in interfaceGroovyClassDoc
-
methods
public GroovyMethodDoc[] methods()
- Specified by:
methods
in interfaceGroovyClassDoc
-
methods
public GroovyMethodDoc[] methods(boolean filter)
- Specified by:
methods
in interfaceGroovyClassDoc
-
serializableFields
public GroovyFieldDoc[] serializableFields()
- Specified by:
serializableFields
in interfaceGroovyClassDoc
-
serializationMethods
public GroovyMethodDoc[] serializationMethods()
- Specified by:
serializationMethods
in interfaceGroovyClassDoc
-
subclassOf
public boolean subclassOf(GroovyClassDoc gcd)
- Specified by:
subclassOf
in interfaceGroovyClassDoc
-
getFullPathName
public String getFullPathName()
- Specified by:
getFullPathName
in interfaceGroovyClassDoc
-
getRelativeRootPath
public String getRelativeRootPath()
- Specified by:
getRelativeRootPath
in interfaceGroovyClassDoc
-
containingClass
public GroovyClassDoc containingClass()
- Specified by:
containingClass
in interfaceGroovyProgramElementDoc
-
containingPackage
public GroovyPackageDoc containingPackage()
- Specified by:
containingPackage
in interfaceGroovyProgramElementDoc
-
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interfaceGroovyProgramElementDoc
-
isPackagePrivate
public boolean isPackagePrivate()
- Specified by:
isPackagePrivate
in interfaceGroovyProgramElementDoc
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceGroovyProgramElementDoc
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceGroovyProgramElementDoc
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceGroovyProgramElementDoc
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceGroovyProgramElementDoc
-
modifiers
public String modifiers()
- Specified by:
modifiers
in interfaceGroovyProgramElementDoc
-
modifierSpecifier
public int modifierSpecifier()
- Specified by:
modifierSpecifier
in interfaceGroovyProgramElementDoc
-
qualifiedName
public String qualifiedName()
- Specified by:
qualifiedName
in interfaceGroovyProgramElementDoc
-
commentText
public String commentText()
- Specified by:
commentText
in interfaceGroovyDoc
-
getRawCommentText
public String getRawCommentText()
- Specified by:
getRawCommentText
in interfaceGroovyDoc
-
isAnnotationType
public boolean isAnnotationType()
- Specified by:
isAnnotationType
in interfaceGroovyDoc
-
isAnnotationTypeElement
public boolean isAnnotationTypeElement()
- Specified by:
isAnnotationTypeElement
in interfaceGroovyDoc
-
isConstructor
public boolean isConstructor()
- Specified by:
isConstructor
in interfaceGroovyDoc
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecated
in interfaceGroovyDoc
-
isEnumConstant
public boolean isEnumConstant()
- Specified by:
isEnumConstant
in interfaceGroovyDoc
-
isException
public boolean isException()
- Specified by:
isException
in interfaceGroovyDoc
-
isIncluded
public boolean isIncluded()
- Specified by:
isIncluded
in interfaceGroovyDoc
-
isInterface
public boolean isInterface()
- Specified by:
isInterface
in interfaceGroovyDoc
-
isOrdinaryClass
public boolean isOrdinaryClass()
- Specified by:
isOrdinaryClass
in interfaceGroovyDoc
-
setRawCommentText
public void setRawCommentText(String arg0)
- Specified by:
setRawCommentText
in interfaceGroovyDoc
-
firstSentenceCommentText
public String firstSentenceCommentText()
- Specified by:
firstSentenceCommentText
in interfaceGroovyDoc
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable
-
-