public abstract class SourceMethodElementInfo extends AnnotatableInfo implements ISourceMethod
| Modifier and Type | Field and Description |
|---|---|
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 ILocalVariable[] |
arguments |
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 |
sourceRangeEnd |
protected int |
sourceRangeStart |
protected ITypeParameter[] |
typeParameters |
annotations, nameEnd, nameStart| Constructor and Description |
|---|
SourceMethodElementInfo() |
| Modifier and Type | Method and Description |
|---|---|
char[][] |
getArgumentNames()
Answer the names of the argument
or null if the argument names are not available.
|
int |
getDeclarationSourceEnd() |
int |
getDeclarationSourceStart() |
char[][] |
getExceptionTypeNames()
Answer the unresolved names of the exception types
or null if the array is empty.
|
int |
getModifiers() |
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() |
protected void |
setArgumentNames(char[][] names) |
protected void |
setExceptionTypeNames(char[][] types) |
protected void |
setFlags(int flags) |
protected abstract void |
setReturnType(char[] type) |
protected void |
setSourceRangeEnd(int end) |
protected void |
setSourceRangeStart(int start) |
getNameRange, getNameSourceEnd, getNameSourceStart, setNameSourceEnd, setNameSourceStartclone, getChildrenequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclarationSourceEnd, getDeclarationSourceStart, getNameSourceEnd, getNameSourceStartgetModifiersprotected char[][] argumentNames
protected char[][] exceptionTypes
protected ILocalVariable[] arguments
protected ITypeParameter[] typeParameters
protected int flags
ClassFileConstantsprotected int sourceRangeStart
protected int sourceRangeEnd
public char[][] getArgumentNames()
IGenericMethodgetArgumentNames in interface IGenericMethodpublic char[][] getExceptionTypeNames()
ISourceMethodgetExceptionTypeNames in interface ISourceMethodpublic abstract char[] getReturnTypeName()
ISourceMethodgetReturnTypeName in interface ISourceMethodpublic char[][][] getTypeParameterBounds()
ISourceMethodgetTypeParameterBounds in interface ISourceMethodpublic char[][] getTypeParameterNames()
ISourceMethodgetTypeParameterNames 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()
protected void setFlags(int flags)
public int getDeclarationSourceEnd()
public int getDeclarationSourceStart()
protected ISourceRange getSourceRange()
protected void setSourceRangeEnd(int end)
protected void setSourceRangeStart(int start)