circle.circumference() a.<String>bb(15); a
is the scope, String is a type argument, bb is the name and 15 is an argument.
| Modifier and Type | Field and Description |
|---|---|
| private NodeList | |
| private SimpleName | |
| private Expression | |
| private NodeList |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public | MethodCallExpr(final Expression scope, final NodeList<Type> typeArguments, final String name, final NodeList<Expression> arguments)
|
| public | |
| public | MethodCallExpr(final Expression scope, final NodeList<Type> typeArguments, final SimpleName name, final NodeList<Expression> arguments)
|
| public | MethodCallExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name, NodeList<Expression> arguments)
This constructor is used by the parser and is considered private. |
| Modifier and Type | Method and Description |
|---|---|
| public <R, A> R | accept(final GenericVisitor<R, A>
the visitor implementation v, final A the argument passed to the visitor (of type A) arg)Implements com. |
| public <A> void | accept(final VoidVisitor<A>
the visitor implementation v, final A any value relevant for the visitor (of type A) arg)Implements com. |
| public MethodCallExpr | |
| public MethodCallExpr | clone()
Creates and returns a copy of this object.
|
| public NodeList | |
| public MethodCallExprMetaModel | |
| public SimpleName | |
| public Optional | |
| public Optional | |
| public void | |
| public boolean | |
| public boolean | |
| public MethodCallExpr | |
| public boolean | replace(Node node, Node replacementNode)
Overrides com. |
| public ResolvedMethodDeclaration | Returns: aResolvedMethodDeclaration representing the declaration of the invoked method.Implements com. |
| public MethodCallExpr | setArguments(final NodeList<Expression> arguments)
Implements com. |
| public MethodCallExpr | setName(final SimpleName name)
Implements com. |
| public MethodCallExpr | setScope(final Expression scope)
Implements com. |
| public MethodCallExpr | Returns: this, the MethodCallExprthe typeArguments, can be null typeArguments)Implements com. |
| public Optional |
| arguments | back to summary |
|---|---|
| private NodeList<Expression> arguments | |
| name | back to summary |
|---|---|
| private SimpleName name | |
| scope | back to summary |
|---|---|
| private Expression scope
| |
| typeArguments | back to summary |
|---|---|
| private NodeList<Type> typeArguments
| |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr() | |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr(String name, Expression... arguments) | |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr(final Expression scope, final String name) | |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr(final Expression scope, final SimpleName name) | |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr(final Expression scope, final String name, final NodeList<Expression> arguments) | |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr(final Expression scope, final NodeList<Type> typeArguments, final String name, final NodeList<Expression> arguments) | |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr(final Expression scope, final SimpleName name, final NodeList<Expression> arguments) | |
| MethodCallExpr | back to summary |
|---|---|
public MethodCallExpr(final Expression scope, final NodeList<Type> typeArguments, final SimpleName name, final NodeList<Expression> arguments)
| |
| MethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name, NodeList<Expression> arguments) This constructor is used by the parser and is considered private.
| |
| accept | back to summary |
|---|---|
| public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| accept | back to summary |
|---|---|
| public <A> void accept(final VoidVisitor<A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| asMethodCallExpr | back to summary |
|---|---|
| public MethodCallExpr asMethodCallExpr() Overrides com.
| |
| clone | back to summary |
|---|---|
| public MethodCallExpr clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getArguments | back to summary |
|---|---|
| public NodeList Implements com.
| |
| getMetaModel | back to summary |
|---|---|
| public MethodCallExprMetaModel getMetaModel() Overrides com.
| |
| getName | back to summary |
|---|---|
| public SimpleName getName() Implements com.
| |
| getScope | back to summary |
|---|---|
| public Optional Implements com.
| |
| getTypeArguments | back to summary |
|---|---|
| public Optional Implements com.
| |
| ifMethodCallExpr | back to summary |
|---|---|
| public void ifMethodCallExpr(Consumer<MethodCallExpr> action) Overrides com.
| |
| isMethodCallExpr | back to summary |
|---|---|
| public boolean isMethodCallExpr() Overrides com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| removeScope | back to summary |
|---|---|
| public MethodCallExpr removeScope() Implements com.
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| resolve | back to summary |
|---|---|
| public ResolvedMethodDeclaration resolve() Implements com. Attempts to resolve the declaration corresponding to the invoked method. If successful, a
| |
| setArguments | back to summary |
|---|---|
| public MethodCallExpr setArguments(final NodeList<Expression> arguments) Implements com.
| |
| setName | back to summary |
|---|---|
| public MethodCallExpr setName(final SimpleName name) Implements com.
| |
| setScope | back to summary |
|---|---|
| public MethodCallExpr setScope(final Expression scope) Implements com.
| |
| setTypeArguments | back to summary |
|---|---|
| public MethodCallExpr setTypeArguments(final NodeList<Type> typeArguments) Implements com. Sets the typeArguments
| |
| toMethodCallExpr | back to summary |
|---|---|
| public Optional Overrides com.
| |