Klasse SourceFieldElementInfo

Alle implementierten Schnittstellen:
Cloneable, IGenericField, ISourceField
Bekannte direkte Unterklassen:
SourceFieldWithChildrenInfo

public class SourceFieldElementInfo extends AnnotatableInfo implements ISourceField
Element info for IField elements.
  • Felddetails

    • typeName

      protected char[] typeName
      The type name of this field.
    • initializationSource

      protected char[] initializationSource
      The field's initializer string (if the field is a constant).
    • isRecordComponent

      protected boolean isRecordComponent
    • flags

      protected int flags
      The modifiers associated with this member.
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants
    • sourceRangeStart

      protected int sourceRangeStart
    • sourceRangeEnd

      protected int sourceRangeEnd
  • Konstruktordetails

    • SourceFieldElementInfo

      public SourceFieldElementInfo()
  • Methodendetails

    • getInitializationSource

      public char[] getInitializationSource()
      Beschreibung aus Schnittstelle kopiert: ISourceField
      Answer the initialization source for this constant field. Answer null if the field is not a constant or if it has no initialization.
      Angegeben von:
      getInitializationSource in Schnittstelle ISourceField
    • getTypeName

      public char[] getTypeName()
      Returns the type name of the field.
      Angegeben von:
      getTypeName in Schnittstelle ISourceField
    • getTypeSignature

      protected String getTypeSignature()
      Returns the type signature of the field.
      Siehe auch:
    • setTypeName

      protected void setTypeName(char[] typeName)
      Sets the type name of the field.
    • getModifiers

      public int getModifiers()
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.IGenericType#getModifiers()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.IGenericMethod#getModifiers()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.IGenericField#getModifiers()
    • setFlags

      protected void setFlags(int flags)
    • getDeclarationSourceEnd

      public int getDeclarationSourceEnd()
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceEnd()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceEnd()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceEnd()
    • getDeclarationSourceStart

      public int getDeclarationSourceStart()
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceStart()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceStart()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceStart()
    • getSourceRange

      protected ISourceRange getSourceRange()
    • setSourceRangeEnd

      protected void setSourceRangeEnd(int end)
    • setSourceRangeStart

      protected void setSourceRangeStart(int start)