Interface JField

All Superinterfaces:
HasAnnotations
All Known Subinterfaces:
JEnumConstant

public interface JField extends HasAnnotations
Represents a field declaration.
  • Method Details

    • getEnclosingType

      JClassType getEnclosingType()
    • getName

      String getName()
    • getType

      JType getType()
    • isDefaultAccess

      boolean isDefaultAccess()
    • isEnumConstant

      JEnumConstant isEnumConstant()
    • isFinal

      boolean isFinal()
    • isPrivate

      boolean isPrivate()
    • isProtected

      boolean isProtected()
    • isPublic

      boolean isPublic()
    • isStatic

      boolean isStatic()
    • isTransient

      boolean isTransient()
    • isVolatile

      boolean isVolatile()