Interface FieldDeclaration

    • Method Detail

      • isFinal

        boolean isFinal()
        Returns:
        whether this field is declared 'final'
      • isStatic

        boolean isStatic()
        Returns:
        whether this field is declared 'static'
      • isTransient

        boolean isTransient()
        Returns:
        whether this field is declared 'transient'
      • isVolatile

        boolean isVolatile()
        Returns:
        whether this field is declared 'volatile'
      • getInitializer

        Expression getInitializer()
        Returns:
        the initializer. null if no initializer is present or this is an external element.
      • getType

        TypeReference getType()
        Returns:
        the type of this expression. null if this is a source field declaration and the type is inferred from the initializer.