Class ExternalGroovyClassDoc
java.lang.Object
org.codehaus.groovy.tools.groovydoc.ExternalGroovyClassDoc
- All Implemented Interfaces:
java.lang.Comparable
,GroovyClassDoc
,GroovyDoc
,GroovyProgramElementDoc
,GroovyType
public class ExternalGroovyClassDoc extends java.lang.Object implements GroovyClassDoc
Represents a class not in the codebase being processed.
-
Constructor Summary
Constructors Constructor Description ExternalGroovyClassDoc(java.lang.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 Details
-
ExternalGroovyClassDoc
public ExternalGroovyClassDoc(java.lang.Class externalClass)
-
-
Method Details
-
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitive
in interfaceGroovyType
-
annotations
- Specified by:
annotations
in interfaceGroovyProgramElementDoc
-
qualifiedTypeName
public java.lang.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
- Specified by:
superclass
in interfaceGroovyClassDoc
-
externalClass
public java.lang.Class externalClass() -
getTypeSourceDescription
public java.lang.String getTypeSourceDescription() -
simpleTypeName
public java.lang.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 java.lang.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
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-
superclassType
- Specified by:
superclassType
in interfaceGroovyClassDoc
-
constructors
- Specified by:
constructors
in interfaceGroovyClassDoc
-
constructors
- Specified by:
constructors
in interfaceGroovyClassDoc
-
definesSerializableFields
public boolean definesSerializableFields()- Specified by:
definesSerializableFields
in interfaceGroovyClassDoc
-
enumConstants
- Specified by:
enumConstants
in interfaceGroovyClassDoc
-
fields
- Specified by:
fields
in interfaceGroovyClassDoc
-
properties
- Specified by:
properties
in interfaceGroovyClassDoc
-
fields
- Specified by:
fields
in interfaceGroovyClassDoc
-
findClass
- Specified by:
findClass
in interfaceGroovyClassDoc
-
importedClasses
- Specified by:
importedClasses
in interfaceGroovyClassDoc
-
importedPackages
- Specified by:
importedPackages
in interfaceGroovyClassDoc
-
innerClasses
- Specified by:
innerClasses
in interfaceGroovyClassDoc
-
innerClasses
- Specified by:
innerClasses
in interfaceGroovyClassDoc
-
interfaces
- Specified by:
interfaces
in interfaceGroovyClassDoc
-
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
- Specified by:
methods
in interfaceGroovyClassDoc
-
methods
- Specified by:
methods
in interfaceGroovyClassDoc
-
serializableFields
- Specified by:
serializableFields
in interfaceGroovyClassDoc
-
serializationMethods
- Specified by:
serializationMethods
in interfaceGroovyClassDoc
-
subclassOf
- Specified by:
subclassOf
in interfaceGroovyClassDoc
-
getFullPathName
public java.lang.String getFullPathName()- Specified by:
getFullPathName
in interfaceGroovyClassDoc
-
getRelativeRootPath
public java.lang.String getRelativeRootPath()- Specified by:
getRelativeRootPath
in interfaceGroovyClassDoc
-
containingClass
- Specified by:
containingClass
in interfaceGroovyProgramElementDoc
-
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 java.lang.String modifiers()- Specified by:
modifiers
in interfaceGroovyProgramElementDoc
-
modifierSpecifier
public int modifierSpecifier()- Specified by:
modifierSpecifier
in interfaceGroovyProgramElementDoc
-
qualifiedName
public java.lang.String qualifiedName()- Specified by:
qualifiedName
in interfaceGroovyProgramElementDoc
-
commentText
public java.lang.String commentText()- Specified by:
commentText
in interfaceGroovyDoc
-
getRawCommentText
public java.lang.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
-
isClass
public boolean isClass() -
isConstructor
public boolean isConstructor()- Specified by:
isConstructor
in interfaceGroovyDoc
-
isDeprecated
public boolean isDeprecated()- Specified by:
isDeprecated
in interfaceGroovyDoc
-
isEnum
public boolean isEnum() -
isEnumConstant
public boolean isEnumConstant()- Specified by:
isEnumConstant
in interfaceGroovyDoc
-
isError
public boolean isError() -
isException
public boolean isException()- Specified by:
isException
in interfaceGroovyDoc
-
isField
public boolean isField() -
isIncluded
public boolean isIncluded()- Specified by:
isIncluded
in interfaceGroovyDoc
-
isInterface
public boolean isInterface()- Specified by:
isInterface
in interfaceGroovyDoc
-
isMethod
public boolean isMethod() -
isOrdinaryClass
public boolean isOrdinaryClass()- Specified by:
isOrdinaryClass
in interfaceGroovyDoc
-
name
public java.lang.String name() -
setRawCommentText
public void setRawCommentText(java.lang.String arg0)- Specified by:
setRawCommentText
in interfaceGroovyDoc
-
firstSentenceCommentText
public java.lang.String firstSentenceCommentText()- Specified by:
firstSentenceCommentText
in interfaceGroovyDoc
-
compareTo
public int compareTo(java.lang.Object o)- Specified by:
compareTo
in interfacejava.lang.Comparable
-