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

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

Introduction

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

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 ).

Constructor

FieldAccess(AST ast)
Creates a new unparented node for a field access expression owned by the given AST.

Method

ASTgetAST()
Returns this node's AST.
ExpressiongetExpression()
Returns the expression of this field access expression.
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 field accessed in this field access expression.
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.
ObjectresolveConstantExpressionValue()
Resolves and returns the compile-time constant expression value as specified in JLS2 15.28, if this expression has one.
IVariableBindingresolveFieldBinding()
Resolves and returns the binding for the field accessed by this expression.
ITypeBindingresolveTypeBinding()
Resolves and returns the binding for the type of this expression.
voidsetExpression(Expression expression)
Sets the expression of this field access expression.
voidsetName(SimpleName fieldName)
Sets the name of the field accessed in this field access expression.
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.