org.eclipse.jdt.internal.compiler.env
Interface ISourceField

All Superinterfaces:
IGenericField
All Known Implementing Classes:
SourceField, SourceFieldElementInfo, SourceInitializer

public interface ISourceField
extends IGenericField


Method Summary
 int getDeclarationSourceEnd()
          Answer the source end position of the field's declaration.
 int getDeclarationSourceStart()
          Answer the source start position of the field's declaration.
 char[] getInitializationSource()
          Answer the initialization source for this constant field.
 int getNameSourceEnd()
          Answer the source end position of the field's name.
 int getNameSourceStart()
          Answer the source start position of the field's name.
 char[] getTypeName()
          Answer the type name of the field.
 
Methods inherited from interface org.eclipse.jdt.internal.compiler.env.IGenericField
getModifiers
 

Method Detail

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.