public interface JCall extends JExpr, JSimpleArgs
| Modifier and Type | Method and Description |
|---|---|
JCall |
arg(JExpr expr)
Add an actual parameter argument to this call.
|
JExpr[] |
arguments()
Get the arguments defined thus far.
|
JCall |
diamond()
Use the "diamond"
<> syntax to specify inferred type arguments. |
JCall |
typeArg(java.lang.Class<?> type)
Add a type argument to this call.
|
JCall |
typeArg(JType type)
Add a type argument to this call.
|
JCall |
typeArg(java.lang.String type)
Add a type argument to this call.
|
JType[] |
typeArguments()
Get the type arguments defined thus far.
|
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, or, paren, plus, shl, shr, timesJCall diamond()
<> syntax to specify inferred type arguments.JCall typeArg(JType type)
type - the type to addJCall typeArg(java.lang.String type)
type - the type to addJCall typeArg(java.lang.Class<?> type)
type - the type to addJCall arg(JExpr expr)
arg in interface JSimpleArgsexpr - the argument expressionJType[] typeArguments()
JExpr[] arguments()
JSimpleArgsarguments in interface JSimpleArgs