| Modifier and Type | Field and Description |
|---|---|
| private Expression | |
| private GenericsType[] | |
| private boolean | |
| private Expression | |
| public static final Expression | |
| private Expression | |
| private boolean | |
| private boolean | |
| private MethodNode | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Expression | |
| public GenericsType[] | |
| public Expression | |
| public String | getMethodAsString()
Implements org. |
| public MethodNode | |
| public Expression | |
| public ASTNode | |
| public String | getText()
Overrides org. Implements org. |
| public boolean | Returns: true if no object expression was specified otherwise if some expression was specified for the object on which to evaluate the method then return false
|
| public boolean | Returns: is this a safe method call, i.e. if true then if the source object is null then this method call will return null rather than throwing a null pointer exception
|
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setMethodTarget(MethodNode
the target as MethodNode, mn==null means no target mn)Sets a method call target for a direct method call. |
| public void | |
| public void | |
| public void | setSourcePosition(ASTNode
- the node used to configure the position information node)Overrides org. |
| public void | |
| public String | |
| public Expression | transformExpression(ExpressionTransformer transformer)
Implements abstract org. |
| public void |
| arguments | back to summary |
|---|---|
| private Expression arguments | |
| genericsTypes | back to summary |
|---|---|
| private GenericsType[] genericsTypes | |
| implicitThis | back to summary |
|---|---|
| private boolean implicitThis | |
| method | back to summary |
|---|---|
| private Expression method | |
| NO_ARGUMENTS | back to summary |
|---|---|
| public static final Expression NO_ARGUMENTS | |
| objectExpression | back to summary |
|---|---|
| private Expression objectExpression | |
| safe | back to summary |
|---|---|
| private boolean safe | |
| spreadSafe | back to summary |
|---|---|
| private boolean spreadSafe | |
| target | back to summary |
|---|---|
| private MethodNode target | |
| usesGenerics | back to summary |
|---|---|
| private boolean usesGenerics | |
| MethodCallExpression | back to summary |
|---|---|
| public MethodCallExpression(Expression objectExpression, String method, Expression arguments) | |
| MethodCallExpression | back to summary |
|---|---|
| public MethodCallExpression(Expression objectExpression, Expression method, Expression arguments) | |
| getArguments | back to summary |
|---|---|
| public Expression getArguments() Implements org. | |
| getGenericsTypes | back to summary |
|---|---|
| public GenericsType[] getGenericsTypes() | |
| getMethod | back to summary |
|---|---|
| public Expression getMethod() | |
| getMethodAsString | back to summary |
|---|---|
| public String getMethodAsString() Implements org. This method returns the method name as String if it is no dynamic calculated method name, but a constant. | |
| getMethodTarget | back to summary |
|---|---|
public MethodNode getMethodTarget()
| |
| getObjectExpression | back to summary |
|---|---|
| public Expression getObjectExpression() | |
| getReceiver | back to summary |
|---|---|
| public ASTNode getReceiver() Implements org. | |
| getText | back to summary |
|---|---|
| public String getText() Overrides org. Implements org. | |
| isImplicitThis | back to summary |
|---|---|
public boolean isImplicitThis()
| |
| isSafe | back to summary |
|---|---|
public boolean isSafe()
| |
| isSpreadSafe | back to summary |
|---|---|
| public boolean isSpreadSafe() | |
| isUsingGenerics | back to summary |
|---|---|
| public boolean isUsingGenerics() | |
| setArguments | back to summary |
|---|---|
| public void setArguments(Expression arguments) | |
| setGenericsTypes | back to summary |
|---|---|
| public void setGenericsTypes(GenericsType[] genericsTypes) | |
| setImplicitThis | back to summary |
|---|---|
| public void setImplicitThis(boolean implicitThis) | |
| setMethod | back to summary |
|---|---|
| public void setMethod(Expression method) | |
| setMethodTarget | back to summary |
|---|---|
| public void setMethodTarget(MethodNode mn) Sets a method call target for a direct method call. Warning A method call made this way will run outside of the MOP!
| |
| setObjectExpression | back to summary |
|---|---|
| public void setObjectExpression(Expression objectExpression) | |
| setSafe | back to summary |
|---|---|
| public void setSafe(boolean safe) | |
| setSourcePosition | back to summary |
|---|---|
| public void setSourcePosition(ASTNode node) Overrides org. Doc from org. Sets the source position using another ASTNode. The sourcePosition consists of a line/column pair for the start and a line/column pair for the end of the expression or statement | |
| setSpreadSafe | back to summary |
|---|---|
| public void setSpreadSafe(boolean value) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| transformExpression | back to summary |
|---|---|
| public Expression transformExpression(ExpressionTransformer transformer) Implements abstract org. Doc from org. Return a copy of the expression calling the transformer on any nested expressions | |
| visit | back to summary |
|---|---|
| public void visit(GroovyCodeVisitor visitor) Overrides org. | |