java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.FieldInfo
Alle implementierten Schnittstellen:
IFieldInfo

public class FieldInfo extends ClassFileStruct implements IFieldInfo
Default implementation of IFieldInfo.
  • Konstruktordetails

  • Methodendetails

    • getAccessFlags

      public int getAccessFlags()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the access flag of this field info.
      Angegeben von:
      getAccessFlags in Schnittstelle IFieldInfo
      Gibt zurück:
      the access flag of this field info
      Siehe auch:
    • getAttributeCount

      public int getAttributeCount()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the attribute number of the field info.
      Angegeben von:
      getAttributeCount in Schnittstelle IFieldInfo
      Gibt zurück:
      the attribute number of the field info
      Siehe auch:
    • getAttributes

      public IClassFileAttribute[] getAttributes()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the collection of all attributes of the field info. It includes SyntheticAttribute, ConstantValueAttributes, etc. Returns an empty collection if none.
      Angegeben von:
      getAttributes in Schnittstelle IFieldInfo
      Gibt zurück:
      the collection of all attributes of the field info. It includes SyntheticAttribute, ConstantValueAttributes, etc. Returns an empty collection if none
      Siehe auch:
    • getConstantValueAttribute

      public IConstantValueAttribute getConstantValueAttribute()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the constant value attribute of this field info if specified, null otherwise.
      Angegeben von:
      getConstantValueAttribute in Schnittstelle IFieldInfo
      Gibt zurück:
      the constant value attribute of this field info if specified, null otherwise
      Siehe auch:
    • getDescriptor

      public char[] getDescriptor()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the descriptor of this field info. The descriptor is returned as specified in the JVM specifications.
      Angegeben von:
      getDescriptor in Schnittstelle IFieldInfo
      Gibt zurück:
      the descriptor of this field info. The descriptor is returned as specified in the JVM specifications
      Siehe auch:
    • getDescriptorIndex

      public int getDescriptorIndex()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the descriptor index of this field info.
      Angegeben von:
      getDescriptorIndex in Schnittstelle IFieldInfo
      Gibt zurück:
      the descriptor index of this field info
      Siehe auch:
    • getName

      public char[] getName()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the name of this field info. The name is returned as specified in the JVM specifications.
      Angegeben von:
      getName in Schnittstelle IFieldInfo
      Gibt zurück:
      the name of this field info. The name is returned as specified in the JVM specifications
      Siehe auch:
    • getNameIndex

      public int getNameIndex()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Answer back the name index of this field info.
      Angegeben von:
      getNameIndex in Schnittstelle IFieldInfo
      Gibt zurück:
      the name index of this field info
      Siehe auch:
    • hasConstantValueAttribute

      public boolean hasConstantValueAttribute()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Return true if the field info has a constant value attribute, false otherwise.
      Angegeben von:
      hasConstantValueAttribute in Schnittstelle IFieldInfo
      Gibt zurück:
      true if the field info has a constant value attribute, false otherwise
      Siehe auch:
    • isDeprecated

      public boolean isDeprecated()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Return true if the field info has a deprecated attribute, false otherwise.
      Angegeben von:
      isDeprecated in Schnittstelle IFieldInfo
      Gibt zurück:
      true if the field info has a deprecated attribute, false otherwise
      Siehe auch:
    • isSynthetic

      public boolean isSynthetic()
      Beschreibung aus Schnittstelle kopiert: IFieldInfo
      Return true if the field info is synthetic according to the JVM specification, false otherwise.

      Note that prior to JDK 1.5, synthetic fields were always marked using an attribute; with 1.5, synthetic fields can also be marked using the IModifierConstants.ACC_SYNTHETIC flag.

      Angegeben von:
      isSynthetic in Schnittstelle IFieldInfo
      Gibt zurück:
      true if the field info is synthetic according to the JVM specification, false otherwise
      Siehe auch: