Java org.eclipse.jdt.core.dom MethodInvocation fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom MethodInvocation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom MethodInvocation.

The text is from its open source code.

Field

ChildPropertyDescriptorEXPRESSION_PROPERTY
The "expression" structural property of this node type (child type: Expression ).
ChildPropertyDescriptorNAME_PROPERTY
The "name" structural property of this node type (child type: SimpleName ).
ChildListPropertyDescriptorARGUMENTS_PROPERTY
The "arguments" structural property of this node type (element type: Expression ).
ASTNode.NodeListtypeArguments
The type arguments (element type: Type ).
ASTNode.NodeListarguments
The list of argument expressions (element type: Expression ).

Constructor

MethodInvocation(AST ast)
Creates a new AST node for a method invocation expression owned by the given AST.

Method

voidaccept(ASTVisitor visitor)
Accepts the given visitor on a visit of the current node.
booleanequals(Object obj)
The ASTNode implementation of this Object method uses object identity (==).
ASTgetAST()
Returns this node's AST.
ExpressiongetExpression()
Returns the expression of this method invocation expression, or null if there is none.
intgetFlags()
Returns the flags associated with this node.
intgetLength()
Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends.
StructuralPropertyDescriptorgetLocationInParent()
Returns the location of this node within its parent, or null if this is a root node.
SimpleNamegetName()
Returns the name of the method invoked in this expression.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
ObjectgetProperty(String propertyName)
Returns the value of the named property of this node, or null if none.
ASTNodegetRoot()
Returns the root node at or above this node; returns this node if it is a root.
intgetStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to this node begins.
ObjectgetStructuralProperty(StructuralPropertyDescriptor property)
Returns the value of the given structural property for this node.
booleanisResolvedTypeInferredFromExpectedType()
Returns true if the resolved return type has been inferred from the assignment context (JLS3 15.12.2.8), false otherwise.
IMethodBindingresolveMethodBinding()
Resolves and returns the binding for the method invoked by this expression.
ITypeBindingresolveTypeBinding()
Resolves and returns the binding for the type of this expression.
voidsetExpression(Expression expression)
Sets or clears the expression of this method invocation expression.
voidsetFlags(int flags)
Sets the flags associated with this node to the given value.
voidsetName(SimpleName name)
Sets the name of the method invoked in this expression to the given name.
voidsetProperty(String propertyName, Object data)
Sets the named property of this node to the given value, or to null to clear it.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.