| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.codemodel.JExpressionImpl
com.sun.codemodel.JInvocation
public final class JInvocation
JMethod invocation
Method Summary | |
---|---|
JInvocation | arg(JExpression arg) Add an expression to this invocation's argument list |
JInvocation | arg(String v) Adds a literal argument. |
void | generate(JFormatter f) |
JExpression[] | listArgs() Returns all arguments of the invocation. |
void | state(JFormatter f) |
Methods inherited from class com.sun.codemodel.JExpressionImpl |
---|
_instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JInvocation arg(JExpression arg)
arg
- Argument to add to argument listpublic JInvocation arg(String v)
arg(JExpr.lit(v))
public JExpression[] listArgs()
public void generate(JFormatter f)
generate
in interface JGenerable
public void state(JFormatter f)
state
in interface JStatement
| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |