|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodT
A method or constructor declaration.
Field Summary | |
---|---|
static MethodT[] |
EMPTY_ARRAY
|
Method Summary | |
---|---|
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. |
Methods inherited from interface javax.ide.model.java.source.tree.MemberT |
---|
getBlock, getDeclaringClass, getDocComment, setBlock, setDocComment |
Methods inherited from interface javax.ide.model.java.source.tree.HasModifiersT |
---|
addModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiers |
Methods inherited from interface javax.ide.model.java.source.tree.Tree |
---|
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty |
Methods inherited from interface javax.ide.model.java.source.tree.HasNameT |
---|
getName, getNameElement, setName, setNameElement |
Field Detail |
---|
static final MethodT[] EMPTY_ARRAY
Method Detail |
---|
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()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |