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) |
JExpression[] |
listArgs()
Returns all arguments of the invocation.
|
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 JExpression[] listArgs()
public void generate(JFormatter f)
generate in interface JGenerablepublic void state(JFormatter f)
state in interface JStatementCopyright © 2017 JBoss by Red Hat. All rights reserved.