Class SimpleGroovyDoc
java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc
- All Implemented Interfaces:
Comparable<GroovyDoc>
,GroovyDoc
- Direct Known Subclasses:
SimpleGroovyPackageDoc
,SimpleGroovyProgramElementDoc
,SimpleGroovyRootDoc
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
int
boolean
boolean
boolean
isClass()
boolean
boolean
boolean
isEnum()
boolean
boolean
isError()
boolean
boolean
isField()
boolean
boolean
boolean
isMethod()
boolean
boolean
isScript()
boolean
isTrait()
name()
protected void
setCommentText
(String commentText) void
setDeprecated
(boolean deprecated) protected void
setFirstSentenceCommentText
(String firstSentenceCommentText) void
setRawCommentText
(String rawCommentText) void
setScript
(boolean script) void
setTokenType
(int t) tags()
int
toString()
-
Field Details
-
CLASS_DEF
public static final int CLASS_DEF- See Also:
-
TRAIT_DEF
public static final int TRAIT_DEF- See Also:
-
INTERFACE_DEF
public static final int INTERFACE_DEF- See Also:
-
ANNOTATION_DEF
public static final int ANNOTATION_DEF- See Also:
-
ENUM_DEF
public static final int ENUM_DEF- See Also:
-
-
Constructor Details
-
SimpleGroovyDoc
-
-
Method Details
-
name
-
toString
-
setCommentText
-
setFirstSentenceCommentText
-
commentText
- Specified by:
commentText
in interfaceGroovyDoc
-
firstSentenceCommentText
- Specified by:
firstSentenceCommentText
in interfaceGroovyDoc
-
getRawCommentText
- Specified by:
getRawCommentText
in interfaceGroovyDoc
-
setRawCommentText
- Specified by:
setRawCommentText
in interfaceGroovyDoc
-
setScript
public void setScript(boolean script) -
calculateFirstSentence
-
isClass
public boolean isClass() -
isScript
public boolean isScript() -
isTrait
public boolean isTrait() -
isInterface
public boolean isInterface()- Specified by:
isInterface
in interfaceGroovyDoc
-
isAnnotationType
public boolean isAnnotationType()- Specified by:
isAnnotationType
in interfaceGroovyDoc
-
isEnum
public boolean isEnum() -
getTypeDescription
-
getTypeSourceDescription
-
setTokenType
public void setTokenType(int t) -
tokenType
public int tokenType() -
compareTo
- Specified by:
compareTo
in interfaceComparable<GroovyDoc>
-
isAnnotationTypeElement
public boolean isAnnotationTypeElement()- Specified by:
isAnnotationTypeElement
in interfaceGroovyDoc
-
isConstructor
public boolean isConstructor()- Specified by:
isConstructor
in interfaceGroovyDoc
-
isEnumConstant
public boolean isEnumConstant()- Specified by:
isEnumConstant
in interfaceGroovyDoc
-
isDeprecated
public boolean isDeprecated()- Specified by:
isDeprecated
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
-
isMethod
public boolean isMethod() -
isOrdinaryClass
public boolean isOrdinaryClass()- Specified by:
isOrdinaryClass
in interfaceGroovyDoc
-
tags
-
setDeprecated
public void setDeprecated(boolean deprecated)
-