public final class GeneratedInvocation extends AbstractExpression implements Statement
Modifier and Type | Method and Description |
---|---|
GeneratedInvocation |
arg(GeneratedExpression arg)
Add an expression to this invocation's argument list
|
GeneratedInvocation |
arg(String v)
Adds a literal argument.
|
void |
generate(Formatter f) |
GeneratedExpression[] |
listArgs()
Returns all arguments of the invocation.
|
void |
state(Formatter f) |
String |
toString() |
public GeneratedInvocation arg(GeneratedExpression arg)
arg
- Argument to add to argument listpublic GeneratedInvocation arg(String v)
arg(JExpr.lit(v))
public GeneratedExpression[] listArgs()
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.