public interface GroovyDoc
extends Comparable
Base contract for documented program elements exposed by Groovydoc.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public String |
commentText()Returns the processed comment text for this element. |
|
public String |
firstSentenceCommentText()Returns the first sentence of the processed comment text. |
|
public String |
getRawCommentText()Returns the raw documentation comment for this element. |
|
public boolean |
isAnnotationType()Indicates whether this element represents an annotation type. |
|
public boolean |
isAnnotationTypeElement()Indicates whether this element represents an annotation type member. |
|
public boolean |
isClass()Indicates whether this element represents a class. |
|
public boolean |
isConstructor()Indicates whether this element represents a constructor. |
|
public boolean |
isDeprecated()Indicates whether this element is marked as deprecated. |
|
public boolean |
isEnum()Indicates whether this element represents an enum type. |
|
public boolean |
isEnumConstant()Indicates whether this element represents an enum constant. |
|
public boolean |
isError()Indicates whether this element represents an error type. |
|
public boolean |
isException()Indicates whether this element represents an exception type. |
|
public boolean |
isField()Indicates whether this element represents a field. |
|
public boolean |
isIncluded()Indicates whether this element is included in the generated output. |
|
public boolean |
isInterface()Indicates whether this element represents an interface. |
|
public boolean |
isMethod()Indicates whether this element represents a method. |
|
public boolean |
isOrdinaryClass()Indicates whether this element represents an ordinary class. |
|
public boolean |
isRecord()Indicates whether this element represents a record type. |
|
public String |
name()Returns the simple name of this documented element. |
|
public void |
setRawCommentText(String arg0)Replaces the raw documentation comment for this element. |
| Methods inherited from class | Name |
|---|---|
interface Comparable |
compareTo |
Returns the processed comment text for this element.
Returns the first sentence of the processed comment text.
Returns the raw documentation comment for this element.
Indicates whether this element represents an annotation type.
true if this element is an annotation typeIndicates whether this element represents an annotation type member.
true if this element is an annotation type elementIndicates whether this element represents a class.
true if this element is a classIndicates whether this element represents a constructor.
true if this element is a constructorIndicates whether this element is marked as deprecated.
true if this element is deprecatedIndicates whether this element represents an enum type.
true if this element is an enumIndicates whether this element represents an enum constant.
true if this element is an enum constantIndicates whether this element represents an error type.
true if this element is an errorIndicates whether this element represents an exception type.
true if this element is an exceptionIndicates whether this element represents a field.
true if this element is a fieldIndicates whether this element is included in the generated output.
true if this element is includedIndicates whether this element represents an interface.
true if this element is an interfaceIndicates whether this element represents a method.
true if this element is a methodIndicates whether this element represents an ordinary class.
true if this element is an ordinary classIndicates whether this element represents a record type.
true if this element is a recordReturns the simple name of this documented element.
Replaces the raw documentation comment for this element.
arg0 - the raw comment text to store