public interface GroovyFieldDoc
extends GroovyMemberDoc
Describes a field or property in the Groovydoc model.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
constantValue()Returns the constant value of this field when one is available. |
|
public String |
constantValueExpression()Returns the source expression used to define the constant value. |
|
public boolean |
isTransient()Indicates whether this field is declared transient. |
|
public boolean |
isVolatile()Indicates whether this field is declared volatile. |
|
public GroovyType |
type()Returns the declared type of this field. |
| Methods inherited from class | Name |
|---|---|
interface GroovyMemberDoc |
isSynthetic |
interface GroovyProgramElementDoc |
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifierSpecifier, modifiers, qualifiedName |
interface GroovyDoc |
commentText, firstSentenceCommentText, getRawCommentText, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, isRecord, name, setRawCommentText |
Returns the constant value of this field when one is available.
null if none is definedReturns the source expression used to define the constant value.
null if none is available Indicates whether this field is declared transient.
true if this field is transient Indicates whether this field is declared volatile.
true if this field is volatileReturns the declared type of this field.