public final class JInvocation extends JExpressionImpl implements JStatement
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
state(JFormatter f) |
public JInvocation arg(JExpression arg)
arg - Argument to add to argument listpublic JInvocation arg(String v)
arg(JExpr.lit(v))public void generate(JFormatter f)
public void state(JFormatter f)
state in interface JStatementCopyright © 2005-2013 Sun Microsystems. All Rights Reserved.