Package groovy.lang.groovydoc
Class Groovydoc
java.lang.Object
groovy.lang.groovydoc.Groovydoc
public class Groovydoc extends Object
Represents groovydoc
-
Field Summary
Fields Modifier and Type Field Description static Groovydoc
EMPTY_GROOVYDOC
-
Constructor Summary
Constructors Constructor Description Groovydoc(String content, GroovydocHolder groovydocHolder)
Groovydoc(String content, AnnotatedElement annotatedElement)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
String
getContent()
Get the content of groovydocGroovydocHolder
getHolder()
Get the holder of the groovydocList<GroovydocTag>
getTagList()
TODO Get list of groovydoc tagsint
hashCode()
boolean
isPresent()
Tests if groovydoc is presentString
toString()
-
Field Details
-
EMPTY_GROOVYDOC
-
-
Constructor Details
-
Groovydoc
-
Groovydoc
-
-
Method Details
-
isPresent
public boolean isPresent()Tests if groovydoc is present- Returns:
true
if groovydoc is present
-
getContent
Get the content of groovydoc- Returns:
- the text content
-
getTagList
TODO Get list of groovydoc tags- Returns:
- a list of tags
-
getHolder
Get the holder of the groovydoc- Returns:
- the groovydoc holder
-
equals
-
hashCode
public int hashCode() -
toString
-