|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.SourceFieldElementInfo
public class SourceFieldElementInfo
Element info for IField elements.
| Field Summary | |
|---|---|
protected IJavaElement[] |
children
Collection of handles of immediate children of this object. |
protected int |
flags
The modifiers associated with this member. |
protected int |
fSourceRangeEnd
|
protected int |
fSourceRangeStart
|
protected char[] |
initializationSource
The field's initializer string (if the field is a constant). |
protected int |
nameEnd
The last position of this member's name in the its openable's buffer. |
protected int |
nameStart
The start position of this member's name in the its openable's buffer. |
protected char[] |
typeName
The type name of this field. |
| Constructor Summary | |
|---|---|
SourceFieldElementInfo()
|
|
| Method Summary | |
|---|---|
void |
addChild(IJavaElement child)
|
java.lang.Object |
clone()
|
IJavaElement[] |
getChildren()
|
int |
getDeclarationSourceEnd()
|
int |
getDeclarationSourceStart()
|
char[] |
getInitializationSource()
Answer the initialization source for this constant field. |
int |
getModifiers()
|
int |
getNameSourceEnd()
|
int |
getNameSourceStart()
|
protected ISourceRange |
getSourceRange()
|
char[] |
getTypeName()
Returns the type name of the field. |
protected java.lang.String |
getTypeSignature()
Returns the type signature of the field. |
void |
removeChild(IJavaElement child)
|
void |
setChildren(IJavaElement[] children)
|
protected void |
setFlags(int flags)
|
protected void |
setNameSourceEnd(int end)
Sets the last position of this member's name, relative to its openable's source buffer. |
protected void |
setNameSourceStart(int start)
Sets the start position of this member's name, relative to its openable's source buffer. |
protected void |
setSourceRangeEnd(int end)
|
protected void |
setSourceRangeStart(int start)
|
protected void |
setTypeName(char[] typeName)
Sets the type name of the field. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.ISourceField |
|---|
getDeclarationSourceEnd, getDeclarationSourceStart, getNameSourceEnd, getNameSourceStart |
| Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IGenericField |
|---|
getModifiers |
| Field Detail |
|---|
protected char[] typeName
protected char[] initializationSource
protected int flags
ClassFileConstantsprotected int nameStart
protected int nameEnd
protected int fSourceRangeStart
protected int fSourceRangeEnd
protected IJavaElement[] children
| Constructor Detail |
|---|
public SourceFieldElementInfo()
| Method Detail |
|---|
public char[] getInitializationSource()
ISourceField
getInitializationSource in interface ISourceFieldpublic char[] getTypeName()
getTypeName in interface ISourceFieldprotected java.lang.String getTypeSignature()
Signatureprotected void setTypeName(char[] typeName)
public int getModifiers()
IGenericType.getModifiers(),
IGenericMethod.getModifiers(),
IGenericField.getModifiers()public int getNameSourceEnd()
ISourceType.getNameSourceEnd(),
ISourceMethod.getNameSourceEnd(),
ISourceField.getNameSourceEnd()public int getNameSourceStart()
ISourceType.getNameSourceStart(),
ISourceMethod.getNameSourceStart(),
ISourceField.getNameSourceStart()protected void setFlags(int flags)
protected void setNameSourceEnd(int end)
protected void setNameSourceStart(int start)
public int getDeclarationSourceEnd()
ISourceType.getDeclarationSourceEnd(),
ISourceMethod.getDeclarationSourceEnd(),
ISourceField.getDeclarationSourceEnd()public int getDeclarationSourceStart()
ISourceType.getDeclarationSourceStart(),
ISourceMethod.getDeclarationSourceStart(),
ISourceField.getDeclarationSourceStart()protected ISourceRange getSourceRange()
protected void setSourceRangeEnd(int end)
protected void setSourceRangeStart(int start)
public void addChild(IJavaElement child)
public java.lang.Object clone()
clone in class java.lang.Objectpublic IJavaElement[] getChildren()
public void removeChild(IJavaElement child)
public void setChildren(IJavaElement[] children)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||