| Modifier and Type | Field and Description |
|---|---|
static MethodT[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getExceptions()
Gets the ordered list of exception types.
|
FormalParameterListT |
getFormalParameterList()
Gets the formal parameter list object.
|
java.util.List |
getParameters()
Gets the ordered list of parameters.
|
TypeReferenceT |
getReturnType()
Gets the source return type.
|
ThrowsT |
getThrowsClause()
Gets the throws clause object.
|
java.util.List |
getTypeParameters()
Gets the ordered list of type parameters declared on this class.
|
boolean |
isConstructor()
True if this is a constructor.
|
boolean |
isVarargs()
Tests if this method is modified by ACC_VARARGS.
|
void |
setReturnType(TypeReferenceT type)
Attempts to set the return type of this method.
|
getBlock, getDeclaringClass, getDocComment, setBlock, setDocCommentaddModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiersaccept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setPropertygetName, getNameElement, setName, setNameElementstatic final MethodT[] EMPTY_ARRAY
boolean isConstructor()
boolean isVarargs()
java.util.List getTypeParameters()
TypeReferenceT getReturnType()
void setReturnType(TypeReferenceT type)
java.lang.UnsupportedOperationException - if this is a constructor.java.util.List getParameters()
java.util.List getExceptions()
FormalParameterListT getFormalParameterList()
ThrowsT getThrowsClause()