Interface GroovyFieldDoc

All Superinterfaces:
Comparable<GroovyDoc>, GroovyDoc, GroovyMemberDoc, GroovyProgramElementDoc
All Known Implementing Classes:
SimpleGroovyFieldDoc

public interface GroovyFieldDoc extends GroovyMemberDoc
Describes a field or property in the Groovydoc model.
  • Method Details

    • constantValue

      Object constantValue()
      Returns the constant value of this field when one is available.
      Returns:
      the constant value, or null if none is defined
    • constantValueExpression

      String constantValueExpression()
      Returns the source expression used to define the constant value.
      Returns:
      the constant value expression, or null if none is available
    • isTransient

      boolean isTransient()
      Indicates whether this field is declared transient.
      Returns:
      true if this field is transient
    • isVolatile

      boolean isVolatile()
      Indicates whether this field is declared volatile.
      Returns:
      true if this field is volatile
    • type

      GroovyType type()
      Returns the declared type of this field.
      Returns:
      the field type