Class SClassReader.FieldInfo

Enclosing class:
SClassReader

public static class SClassReader.FieldInfo extends SClassReader.ClassEntity
Info object describing a field.
  • Field Details

    • fieldname

      protected String fieldname
      The field name.
    • fielddesc

      protected String fielddesc
      The field descriptor.
    • signature

      protected String signature
      The field signature (cached).
  • Constructor Details

    • FieldInfo

      protected FieldInfo()
  • Method Details

    • getFieldName

      public String getFieldName()
      Get the field name.
      Returns:
      the field name.
    • getFieldDescriptor

      public String getFieldDescriptor()
      Get the field descriptor.
      Returns:
      the field descriptor.
    • getFieldSignature

      public String getFieldSignature()
      Returns a String representation of the field signature.
      Returns:
      Method signature.
    • isVolatile

      public boolean isVolatile()
      Tests if field is volatile.
      Returns:
      True, if volatile.
    • isTransient

      public boolean isTransient()
      Tests if field is transient.
      Returns:
      True, if transient.
    • isEnum

      public boolean isEnum()
      Tests if field is an enum.
      Returns:
      True, if an enum.
    • setFieldName

      protected void setFieldName(String fieldname)
      Set the field name.
      Parameters:
      fieldname - the field name to set
    • setFieldDescriptor

      protected void setFieldDescriptor(String fielddesc)
      Set the field descriptor.
      Parameters:
      fielddesc - the field descriptor to set