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

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

Introduction

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

The text is from its open source code.

Field

ChildPropertyDescriptorNAME_PROPERTY
The "name" structural property of this node type (child type: SimpleName ).
ChildPropertyDescriptorVALUE_PROPERTY
The "value" structural property of this node type (child type: Expression ).

Constructor

MemberValuePair(AST ast)
Creates a new AST node for a member value pair owned by the given AST.

Method

voidaccept(ASTVisitor visitor)
Accepts the given visitor on a visit of the current node.
ASTgetAST()
Returns this node's AST.
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.
SimpleNamegetName()
Returns the member name.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
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.
ExpressiongetValue()
Returns the value expression.
IMemberValuePairBindingresolveMemberValuePairBinding()
Resolves and returns the member value pair binding for this member value pair.
voidsetFlags(int flags)
Sets the flags associated with this node to the given value.
voidsetName(SimpleName name)
Sets the member name.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
voidsetValue(Expression value)
Sets the value of this pair.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.