|
|||||||||
| 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.SourceMethodElementInfo
org.aspectj.org.eclipse.jdt.internal.core.SourceMethodInfo
public class SourceMethodInfo
| 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 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[] |
returnType
|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceMethodElementInfo |
|---|
argumentNames, exceptionTypes, typeParameters |
| Constructor Summary | |
|---|---|
SourceMethodInfo()
|
|
| Method Summary | |
|---|---|
void |
addChild(IJavaElement child)
|
java.lang.Object |
clone()
|
IJavaElement[] |
getChildren()
|
int |
getDeclarationSourceEnd()
|
int |
getDeclarationSourceStart()
|
int |
getModifiers()
|
int |
getNameSourceEnd()
|
int |
getNameSourceStart()
|
char[] |
getReturnTypeName()
Answer the unresolved name of the return type or null if receiver is a constructor or clinit. |
protected ISourceRange |
getSourceRange()
|
boolean |
isAnnotationMethod()
|
boolean |
isConstructor()
|
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 |
setReturnType(char[] type)
|
protected void |
setSourceRangeEnd(int end)
|
protected void |
setSourceRangeStart(int start)
|
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceMethodElementInfo |
|---|
getArgumentNames, getExceptionTypeNames, getTypeParameterBounds, getTypeParameterNames, setArgumentNames, setExceptionTypeNames |
| 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.ISourceMethod |
|---|
getDeclarationSourceEnd, getDeclarationSourceStart, getNameSourceEnd, getNameSourceStart |
| Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IGenericMethod |
|---|
getModifiers |
| Field Detail |
|---|
protected char[] returnType
protected int flags
ClassFileConstantsprotected int nameStart
protected int nameEnd
protected int fSourceRangeStart
protected int fSourceRangeEnd
protected IJavaElement[] children
| Constructor Detail |
|---|
public SourceMethodInfo()
| Method Detail |
|---|
public boolean isAnnotationMethod()
isAnnotationMethod in class SourceMethodElementInfopublic boolean isConstructor()
isConstructor in interface IGenericMethodisConstructor in class SourceMethodElementInfopublic char[] getReturnTypeName()
ISourceMethod
getReturnTypeName in interface ISourceMethodgetReturnTypeName in class SourceMethodElementInfoprotected void setReturnType(char[] type)
setReturnType in class SourceMethodElementInfopublic 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 | ||||||||