|
|||||||||
| 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
public abstract class SourceMethodElementInfo
Element info for IMethod elements.
| Field Summary | |
|---|---|
protected char[][] |
argumentNames
For a source method (that is, a method contained in a compilation unit) this is a collection of the names of the parameters for this method, in the order the parameters are delcared. |
protected IJavaElement[] |
children
Collection of handles of immediate children of this object. |
protected char[][] |
exceptionTypes
A collection of type names of the exceptions this method throws, or an empty collection if this method does not declare to throw any exceptions. |
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 ITypeParameter[] |
typeParameters
|
| Constructor Summary | |
|---|---|
SourceMethodElementInfo()
|
|
| Method Summary | |
|---|---|
void |
addChild(IJavaElement child)
|
java.lang.Object |
clone()
|
char[][] |
getArgumentNames()
Answer the names of the argument or null if the argument names are not available. |
IJavaElement[] |
getChildren()
|
int |
getDeclarationSourceEnd()
|
int |
getDeclarationSourceStart()
|
char[][] |
getExceptionTypeNames()
Answer the unresolved names of the exception types or null if the array is empty. |
int |
getModifiers()
|
int |
getNameSourceEnd()
|
int |
getNameSourceStart()
|
abstract char[] |
getReturnTypeName()
Answer the unresolved name of the return type or null if receiver is a constructor or clinit. |
protected ISourceRange |
getSourceRange()
|
char[][][] |
getTypeParameterBounds()
Answer the array of bound names of the receiver's type parameters or null if the array is empty. |
char[][] |
getTypeParameterNames()
Answer the names of the receiver's type parameters or null if the array is empty. |
abstract boolean |
isAnnotationMethod()
|
abstract boolean |
isConstructor()
|
void |
removeChild(IJavaElement child)
|
protected void |
setArgumentNames(char[][] names)
|
void |
setChildren(IJavaElement[] children)
|
protected void |
setExceptionTypeNames(char[][] types)
|
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 abstract void |
setReturnType(char[] type)
|
protected void |
setSourceRangeEnd(int end)
|
protected void |
setSourceRangeStart(int start)
|
| 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[][] argumentNames
protected char[][] exceptionTypes
protected ITypeParameter[] typeParameters
protected int flags
ClassFileConstantsprotected int nameStart
protected int nameEnd
protected int fSourceRangeStart
protected int fSourceRangeEnd
protected IJavaElement[] children
| Constructor Detail |
|---|
public SourceMethodElementInfo()
| Method Detail |
|---|
public char[][] getArgumentNames()
IGenericMethod
getArgumentNames in interface IGenericMethodpublic char[][] getExceptionTypeNames()
ISourceMethod
getExceptionTypeNames in interface ISourceMethodpublic abstract char[] getReturnTypeName()
ISourceMethod
getReturnTypeName in interface ISourceMethodpublic char[][][] getTypeParameterBounds()
ISourceMethod
getTypeParameterBounds in interface ISourceMethodpublic char[][] getTypeParameterNames()
ISourceMethod
getTypeParameterNames in interface ISourceMethodpublic abstract boolean isConstructor()
isConstructor in interface IGenericMethodpublic abstract boolean isAnnotationMethod()
protected void setArgumentNames(char[][] names)
protected void setExceptionTypeNames(char[][] types)
protected abstract void setReturnType(char[] type)
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 | ||||||||