org.eclipse.jdt.internal.core
Class SourceFieldElementInfo

java.lang.Object
  extended by org.eclipse.jdt.internal.core.JavaElementInfo
      extended by org.eclipse.jdt.internal.core.AnnotatableInfo
          extended by org.eclipse.jdt.internal.core.SourceFieldElementInfo
All Implemented Interfaces:
IGenericField, ISourceField

public class SourceFieldElementInfo
extends AnnotatableInfo
implements ISourceField

Element info for IField elements.


Constructor Summary
SourceFieldElementInfo()
           
 
Method Summary
 int getDeclarationSourceEnd()
           
 int getDeclarationSourceStart()
           
 char[] getInitializationSource()
          Answer the initialization source for this constant field.
 int getModifiers()
           
 int getNameSourceEnd()
           
 int getNameSourceStart()
           
 char[] getTypeName()
          Returns the type name of the field.
 
Methods inherited from class org.eclipse.jdt.internal.core.JavaElementInfo
addChild, clone, getChildren, removeChild, setChildren
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jdt.internal.compiler.env.ISourceField
getDeclarationSourceEnd, getDeclarationSourceStart, getNameSourceEnd, getNameSourceStart
 
Methods inherited from interface org.eclipse.jdt.internal.compiler.env.IGenericField
getModifiers
 

Constructor Detail

SourceFieldElementInfo

public SourceFieldElementInfo()
Method Detail

getInitializationSource

public char[] getInitializationSource()
Description copied from interface: ISourceField
Answer the initialization source for this constant field. Answer null if the field is not a constant or if it has no initialization.

Specified by:
getInitializationSource in interface ISourceField

getTypeName

public char[] getTypeName()
Returns the type name of the field.

Specified by:
getTypeName in interface ISourceField

getModifiers

public int getModifiers()
See Also:
IGenericType.getModifiers(), IGenericMethod.getModifiers(), IGenericField.getModifiers()

getNameSourceEnd

public int getNameSourceEnd()
See Also:
ISourceType.getNameSourceEnd(), ISourceMethod.getNameSourceEnd(), ISourceField.getNameSourceEnd()

getNameSourceStart

public int getNameSourceStart()
See Also:
ISourceType.getNameSourceStart(), ISourceMethod.getNameSourceStart(), ISourceField.getNameSourceStart()

getDeclarationSourceEnd

public int getDeclarationSourceEnd()
See Also:
ISourceType.getDeclarationSourceEnd(), ISourceMethod.getDeclarationSourceEnd(), ISourceField.getDeclarationSourceEnd()

getDeclarationSourceStart

public int getDeclarationSourceStart()
See Also:
ISourceType.getDeclarationSourceStart(), ISourceMethod.getDeclarationSourceStart(), ISourceField.getDeclarationSourceStart()