Example usage for Java org.eclipse.jdt.core.dom MethodInvocation fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildPropertyDescriptor | EXPRESSION_PROPERTY The "expression" structural property of this node type (child type: Expression ). |
ChildPropertyDescriptor | NAME_PROPERTY The "name" structural property of this node type (child type: SimpleName ). |
ChildListPropertyDescriptor | ARGUMENTS_PROPERTY The "arguments" structural property of this node type (element type: Expression ). |
ASTNode.NodeList | typeArguments The type arguments (element type: Type ). |
ASTNode.NodeList | arguments The list of argument expressions (element type: Expression ). |
MethodInvocation(AST ast) Creates a new AST node for a method invocation expression owned by the given AST. |
void | accept(ASTVisitor visitor) Accepts the given visitor on a visit of the current node. |
boolean | equals(Object obj) The ASTNode implementation of this Object method uses object identity (==). |
AST | getAST() Returns this node's AST. |
Expression | getExpression() Returns the expression of this method invocation expression, or null if there is none. |
int | getFlags() Returns the flags associated with this node. |
int | getLength() Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends. |
StructuralPropertyDescriptor | getLocationInParent() Returns the location of this node within its parent, or null if this is a root node. |
SimpleName | getName() Returns the name of the method invoked in this expression. |
ASTNode | getParent() Returns this node's parent node, or null if this is the root node. |
Object | getProperty(String propertyName) Returns the value of the named property of this node, or null if none. |
ASTNode | getRoot() Returns the root node at or above this node; returns this node if it is a root. |
int | getStartPosition() Returns the character index into the original source file indicating where the source fragment corresponding to this node begins. |
Object | getStructuralProperty(StructuralPropertyDescriptor property) Returns the value of the given structural property for this node. |
boolean | isResolvedTypeInferredFromExpectedType() Returns true if the resolved return type has been inferred from the assignment context (JLS3 15.12.2.8), false otherwise. |
IMethodBinding | resolveMethodBinding() Resolves and returns the binding for the method invoked by this expression. |
ITypeBinding | resolveTypeBinding() Resolves and returns the binding for the type of this expression. |
void | setExpression(Expression expression) Sets or clears the expression of this method invocation expression. |
void | setFlags(int flags) Sets the flags associated with this node to the given value. |
void | setName(SimpleName name) Sets the name of the method invoked in this expression to the given name. |
void | setProperty(String propertyName, Object data) Sets the named property of this node to the given value, or to null to clear it. |
void | setSourceRange(int startPosition, int length) Sets the source range of the original source file where the source fragment corresponding to this node was found. |
String | toString() Returns a string representation of this node suitable for debugging purposes only. |