Package org.jboss.jdeparser
Class AbstractJCall
java.lang.Object
org.jboss.jdeparser.AbstractJExpr
org.jboss.jdeparser.AbstractJCall
- All Implemented Interfaces:
AllowedStatementExpression
,JCall
,JExpr
,JSimpleArgs
,Writable
- Direct Known Subclasses:
AbstractMethodJCall
,ImplJAnonymousClassDef
,KeywordJCall
,NewJCall
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ArrayList<AbstractJExpr>
private BasicJCommentable
private ArrayList<AbstractJType>
-
Constructor Summary
Constructors -
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.void
write
(SourceFileWriter writer) (package private) void
writeTypeArgs
(SourceFileWriter writer) Methods inherited from class org.jboss.jdeparser.AbstractJExpr
_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, of, or, paren, plus, prec, shl, shr, times
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.jdeparser.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
-
Field Details
-
typeArgs
-
args
-
commentable
-
-
Constructor Details
-
AbstractJCall
AbstractJCall(int prec)
-
-
Method Details
-
diamond
Description copied from interface:JCall
Use the "diamond"<>
syntax to specify inferred type arguments. -
typeArg
Description copied from interface:JCall
Add a type argument to this call. -
typeArg
Description copied from interface:JCall
Add a type argument to this call. -
typeArg
Description copied from interface:JCall
Add a type argument to this call. -
arg
Description copied from interface:JCall
Add an actual parameter argument to this call.- Specified by:
arg
in interfaceJCall
- Specified by:
arg
in interfaceJSimpleArgs
- Parameters:
expr
- the argument expression- Returns:
- this call
-
typeArguments
Description copied from interface:JCall
Get the type arguments defined thus far.- Specified by:
typeArguments
in interfaceJCall
- Returns:
- the type arguments
-
arguments
Description copied from interface:JSimpleArgs
Get the arguments defined thus far.- Specified by:
arguments
in interfaceJCall
- Specified by:
arguments
in interfaceJSimpleArgs
- Returns:
- the arguments
-
lineComment
-
blockComment
-
writeTypeArgs
- Throws:
IOException
-
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-