Class SimpleGroovyDoc
- java.lang.Object
-
- org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc
-
- All Implemented Interfaces:
Comparable
,GroovyDoc
- Direct Known Subclasses:
SimpleGroovyPackageDoc
,SimpleGroovyProgramElementDoc
,SimpleGroovyRootDoc
public class SimpleGroovyDoc extends Object implements GroovyDoc
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANNOTATION_DEF
static int
CLASS_DEF
static int
ENUM_DEF
static int
INTERFACE_DEF
static int
TRAIT_DEF
-
Constructor Summary
Constructors Constructor Description SimpleGroovyDoc(String name)
-
Method Summary
-
-
-
Field Detail
-
CLASS_DEF
public static final int CLASS_DEF
- See Also:
- Constant Field Values
-
TRAIT_DEF
public static final int TRAIT_DEF
- See Also:
- Constant Field Values
-
INTERFACE_DEF
public static final int INTERFACE_DEF
- See Also:
- Constant Field Values
-
ANNOTATION_DEF
public static final int ANNOTATION_DEF
- See Also:
- Constant Field Values
-
ENUM_DEF
public static final int ENUM_DEF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SimpleGroovyDoc
public SimpleGroovyDoc(String name)
-
-
Method Detail
-
setCommentText
protected void setCommentText(String commentText)
-
setFirstSentenceCommentText
protected void setFirstSentenceCommentText(String firstSentenceCommentText)
-
commentText
public String commentText()
- Specified by:
commentText
in interfaceGroovyDoc
-
firstSentenceCommentText
public String firstSentenceCommentText()
- Specified by:
firstSentenceCommentText
in interfaceGroovyDoc
-
getRawCommentText
public String getRawCommentText()
- Specified by:
getRawCommentText
in interfaceGroovyDoc
-
setRawCommentText
public void setRawCommentText(String rawCommentText)
- Specified by:
setRawCommentText
in interfaceGroovyDoc
-
setScript
public void setScript(boolean script)
-
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
-
getTypeDescription
public String getTypeDescription()
-
getTypeSourceDescription
public String getTypeSourceDescription()
-
setTokenType
public void setTokenType(int t)
-
tokenType
public int tokenType()
-
compareTo
public int compareTo(Object that)
- Specified by:
compareTo
in interfaceComparable
-
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
-
isException
public boolean isException()
- Specified by:
isException
in interfaceGroovyDoc
-
isIncluded
public boolean isIncluded()
- Specified by:
isIncluded
in interfaceGroovyDoc
-
isOrdinaryClass
public boolean isOrdinaryClass()
- Specified by:
isOrdinaryClass
in interfaceGroovyDoc
-
tags
public GroovyTag[] tags()
-
setDeprecated
public void setDeprecated(boolean deprecated)
-
-