Interface ISourceField

All Superinterfaces:
IGenericField
All Known Implementing Classes:
SourceFieldElementInfo, SourceFieldWithChildrenInfo

public interface ISourceField extends IGenericField
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Answer the source end position of the field's declaration.
    int
    Answer the source start position of the field's declaration.
    char[]
    Answer the initialization source for this constant field.
    int
    Answer the source end position of the field's name.
    int
    Answer the source start position of the field's name.
    char[]
    Answer the type name of the field.

    Methods inherited from interface IGenericField

    getModifiers
    Modifier and Type
    Method
    Description
    int
    Answer an int whose bits are set according the access constants defined by the VM spec.
  • Method Details

    • getDeclarationSourceEnd

      int getDeclarationSourceEnd()
      Answer the source end position of the field's declaration.
    • getDeclarationSourceStart

      int getDeclarationSourceStart()
      Answer the source start position of the field's declaration.
    • getInitializationSource

      char[] getInitializationSource()
      Answer the initialization source for this constant field. Answer null if the field is not a constant or if it has no initialization.
    • getNameSourceEnd

      int getNameSourceEnd()
      Answer the source end position of the field's name.
    • getNameSourceStart

      int getNameSourceStart()
      Answer the source start position of the field's name.
    • getTypeName

      char[] getTypeName()
      Answer the type name of the field. The name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.