|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The JotMethodCall interface corresponds to method invocation
expressions.
Method calls can be nested (for example, f().g()). In this
case, the first method call (f()) is the primary method call.
The second method call (g()) can be retrieved by calling
the getNestedMethodCall method on the initial method call
object.
| Field Summary |
| Method Summary | |
JotExpression |
addArgument(JotExpression marker,
boolean before,
java.lang.String arg)
Adds an arguement to the method invocation. |
JotExpression |
addArgument(java.lang.String arg)
Adds an arguement to the end of this method invocation. |
JotExpression[] |
getArguments()
Retrieves the arguments to the method invocation. |
java.lang.String |
getMethodName()
Retrieves the name of the method being invoked. |
java.lang.String |
getObjectName()
Retrieves the name of the object on which this method call is being invoked. |
void |
removeArgument(JotExpression argument)
Removes an existing argument. |
void |
setMethodName(java.lang.String name)
Sets the name of the method being invoked. |
void |
setObjectName(java.lang.String name)
Sets the name of the object on which this methoc call is being invoked. |
| Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
| Method Detail |
public java.lang.String getObjectName()
public void setObjectName(java.lang.String name)
name - the name of the objectpublic java.lang.String getMethodName()
public void setMethodName(java.lang.String name)
public JotExpression[] getArguments()
public JotExpression addArgument(JotExpression marker,
boolean before,
java.lang.String arg)
marker - an existing argument to position relative to, or
null if the argument should be positioned at the beginning or
end of this block.before - whether to position the new argument before or after the
existing marker argument; or if marker is null,
whether to position the new argument at the beginning or the end of this block.arg - the new argument to add.
JotExpression representing the new argument.public JotExpression addArgument(java.lang.String arg)
arg - the new argument to add.
JotExpression representing the new argument.public void removeArgument(JotExpression argument)
argument - the argument to remove.
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.