public final class MethodCallExpr extends Expression implements NodeWithTypeArguments<MethodCallExpr>, NodeWithArguments<MethodCallExpr>, NodeWithSimpleName<MethodCallExpr>
Node.ObserverRegistrationModeABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION, prettyPrinterNoCommentsConfiguration| Constructor and Description |
|---|
MethodCallExpr() |
MethodCallExpr(Expression scope,
SimpleName name,
NodeList<Expression> arguments) |
MethodCallExpr(Expression scope,
String name) |
MethodCallExpr(Range range,
Expression scope,
NodeList<Type<?>> typeArguments,
SimpleName name,
NodeList<Expression> arguments) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
NodeList<Expression> |
getArguments() |
SimpleName |
getName() |
Expression |
getScope() |
Optional<NodeList<Type<?>>> |
getTypeArguments() |
MethodCallExpr |
setArguments(NodeList<Expression> arguments) |
MethodCallExpr |
setName(SimpleName name) |
MethodCallExpr |
setScope(Expression scope) |
MethodCallExpr |
setTypeArguments(NodeList<Type<?>> typeArguments)
Sets the typeArguments
|
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBegin, getChildNodes, getComment, getData, getEnd, getNodeLists, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getRange, hasComment, hashCode, isPositionedAfter, isPositionedBefore, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setRange, toString, toString, tryAddImportToParentCompilationUnit, unregisterfinalize, getClass, notify, notifyAll, wait, wait, waitisUsingDiamondOperator, removeTypeArguments, setDiamondOperator, setTypeArgumentsaddArgument, addArgument, getArgumentgetNameAsString, setNamegetAncestorOfType, setAsParentNodeOf, setAsParentNodeOfpublic MethodCallExpr()
public MethodCallExpr(Expression scope, String name)
public MethodCallExpr(Expression scope, SimpleName name, NodeList<Expression> arguments)
public MethodCallExpr(Range range, Expression scope, NodeList<Type<?>> typeArguments, SimpleName name, NodeList<Expression> arguments)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Visitableaccept in interface VisitableR - the type of the return value of the visitorA - the type the user argument passed to the visitorv - the visitor implementationarg - the argument passed to the visitor (of type A)public <A> void accept(VoidVisitor<A> v, A arg)
Visitablepublic NodeList<Expression> getArguments()
getArguments in interface NodeWithArguments<MethodCallExpr>public SimpleName getName()
getName in interface NodeWithSimpleName<MethodCallExpr>public Expression getScope()
public MethodCallExpr setArguments(NodeList<Expression> arguments)
setArguments in interface NodeWithArguments<MethodCallExpr>public MethodCallExpr setName(SimpleName name)
setName in interface NodeWithSimpleName<MethodCallExpr>public MethodCallExpr setScope(Expression scope)
public Optional<NodeList<Type<?>>> getTypeArguments()
getTypeArguments in interface NodeWithTypeArguments<MethodCallExpr>public MethodCallExpr setTypeArguments(NodeList<Type<?>> typeArguments)
setTypeArguments in interface NodeWithTypeArguments<MethodCallExpr>typeArguments - the typeArguments, can be nullCopyright © 2007–2016. All rights reserved.