T
- Return type of this invocationpublic interface CtAbstractInvocation<T> extends CtElement
CtExecutable
.Modifier and Type | Method and Description |
---|---|
<C extends CtAbstractInvocation<T>> |
addArgument(CtExpression<?> argument)
Adds an argument expression to the invocation.
|
List<CtExpression<?>> |
getArguments()
The arguments of the invocation.
|
CtExecutableReference<T> |
getExecutable()
Returns the invoked executable.
|
void |
removeArgument(CtExpression<?> argument)
Removes an argument expression from the invocation.
|
<C extends CtAbstractInvocation<T>> |
setArguments(List<CtExpression<?>> arguments)
Sets the invocation's arguments.
|
<C extends CtAbstractInvocation<T>> |
setExecutable(CtExecutableReference<T> executable)
Sets the invoked executable.
|
addAnnotation, addComment, asIterable, clone, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, updateAllParentsBelow
getFactory, setFactory
accept
filterChildren, map, map
getOriginalSourceFragment
List<CtExpression<?>> getArguments()
<C extends CtAbstractInvocation<T>> C addArgument(CtExpression<?> argument)
void removeArgument(CtExpression<?> argument)
<C extends CtAbstractInvocation<T>> C setArguments(List<CtExpression<?>> arguments)
CtExecutableReference<T> getExecutable()
<C extends CtAbstractInvocation<T>> C setExecutable(CtExecutableReference<T> executable)
Copyright © 2007–2019 Inria. All rights reserved.