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 GroovydocEMPTY_GROOVYDOC 
- 
Constructor Summary
Constructors Constructor Description Groovydoc(String content, GroovydocHolder groovydocHolder)Groovydoc(String content, AnnotatedElement annotatedElement) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetContent()Get the content of groovydocGroovydocHoldergetHolder()Get the holder of the groovydocList<GroovydocTag>getTagList()TODO Get list of groovydoc tagsinthashCode()booleanisPresent()Tests if groovydoc is presentStringtoString() 
 - 
 
- 
- 
Field Detail
- 
EMPTY_GROOVYDOC
public static final Groovydoc EMPTY_GROOVYDOC
 
 - 
 
- 
Constructor Detail
- 
Groovydoc
public Groovydoc(String content, GroovydocHolder groovydocHolder)
 
- 
Groovydoc
public Groovydoc(String content, AnnotatedElement annotatedElement)
 
 - 
 
- 
Method Detail
- 
isPresent
public boolean isPresent()
Tests if groovydoc is present- Returns:
 trueif groovydoc is present
 
- 
getContent
public String getContent()
Get the content of groovydoc- Returns:
 - the text content
 
 
- 
getTagList
public List<GroovydocTag> getTagList()
TODO Get list of groovydoc tags- Returns:
 - a list of tags
 
 
- 
getHolder
public GroovydocHolder getHolder()
Get the holder of the groovydoc- Returns:
 - the groovydoc holder
 
 
 - 
 
 -