com.sun.codemodel
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(java.lang.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(java.lang.String v)
arg(JExpr.lit(v))
public void generate(JFormatter f)
public void state(JFormatter f)
state
in interface JStatement
Copyright © 2005-2014 Sun Microsystems. All Rights Reserved.