Interface JCall
- All Superinterfaces:
JExpr, JSimpleArgs
- All Known Subinterfaces:
JAnonymousClassDef
- All Known Implementing Classes:
AbstractJCall, AbstractMethodJCall, DirectJCall, ImplJAnonymousClassDef, InnerJAnonymousClassDef, InnerNewJCall, InstanceJCall, KeywordJCall, NewJCall, StaticJCall
A method or constructor call.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd an actual parameter argument to this call.JExpr[]Get the arguments defined thus far.diamond()Use the "diamond"<>syntax to specify inferred type arguments.Add a type argument to this call.Add a type argument to this call.Add a type argument to this call.JType[]Get the type arguments defined thus far.Methods inherited from interface JExpr
_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, times
-
Method Details
-
diamond
-
typeArg
-
typeArg
-
typeArg
-
arg
Add an actual parameter argument to this call.- Specified by:
argin interfaceJSimpleArgs- Parameters:
expr- the argument expression- Returns:
- this call
-
typeArguments
-
arguments
JExpr[] arguments()Description copied from interface:JSimpleArgsGet the arguments defined thus far.- Specified by:
argumentsin interfaceJSimpleArgs- Returns:
- the arguments
-