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 BasicJCommentableprivate 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.voidwrite(SourceFileWriter writer) (package private) voidwriteTypeArgs(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, timesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:JCallUse the "diamond"<>syntax to specify inferred type arguments. -
typeArg
Description copied from interface:JCallAdd a type argument to this call. -
typeArg
Description copied from interface:JCallAdd a type argument to this call. -
typeArg
Description copied from interface:JCallAdd a type argument to this call. -
arg
Description copied from interface:JCallAdd an actual parameter argument to this call.- Specified by:
argin interfaceJCall- Specified by:
argin interfaceJSimpleArgs- Parameters:
expr- the argument expression- Returns:
- this call
-
typeArguments
Description copied from interface:JCallGet the type arguments defined thus far.- Specified by:
typeArgumentsin interfaceJCall- Returns:
- the type arguments
-
arguments
Description copied from interface:JSimpleArgsGet the arguments defined thus far.- Specified by:
argumentsin interfaceJCall- Specified by:
argumentsin interfaceJSimpleArgs- Returns:
- the arguments
-
lineComment
-
blockComment
-
writeTypeArgs
- Throws:
IOException
-
write
- Specified by:
writein interfaceWritable- Throws:
IOException
-