org.eclipse.jdt.internal.core
Class SourceFieldElementInfo
java.lang.Object
org.eclipse.jdt.internal.core.JavaElementInfo
org.eclipse.jdt.internal.core.AnnotatableInfo
org.eclipse.jdt.internal.core.SourceFieldElementInfo
- All Implemented Interfaces:
- IGenericField, ISourceField
public class SourceFieldElementInfo
- extends AnnotatableInfo
- implements ISourceField
Element info for IField elements.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceFieldElementInfo
public SourceFieldElementInfo()
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()