Package groovy.lang.groovydoc
Class Groovydoc
java.lang.Object
groovy.lang.groovydoc.Groovydoc
Represents groovydoc
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroovydoc(String content, GroovydocHolder groovydocHolder) Creates a groovydoc for the supplied content and holder.Groovydoc(String content, AnnotatedElement annotatedElement) Creates a groovydoc for the supplied content and annotated element. -
Method Summary
-
Field Details
-
EMPTY_GROOVYDOC
Shared empty groovydoc instance.
-
-
Constructor Details
-
Groovydoc
Creates a groovydoc for the supplied content and holder.- Parameters:
content- the doc textgroovydocHolder- the owning holder
-
Groovydoc
Creates a groovydoc for the supplied content and annotated element.- Parameters:
content- the doc textannotatedElement- the owning annotated element
-
-
Method Details
-
isPresent
public boolean isPresent()Tests if groovydoc is present- Returns:
trueif 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
-