Example usage for Java org.eclipse.jdt.core.dom FieldAccess 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 ). |
FieldAccess(AST ast) Creates a new unparented node for a field access expression owned by the given AST. |
AST | getAST() Returns this node's AST. |
Expression | getExpression() Returns the expression of this field access expression. |
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 field accessed in this field access expression. |
ASTNode | getParent() Returns this node's parent node, or null if this is the root node. |
int | getStartPosition() Returns the character index into the original source file indicating where the source fragment corresponding to this node begins. |
Object | resolveConstantExpressionValue() Resolves and returns the compile-time constant expression value as specified in JLS2 15.28, if this expression has one. |
IVariableBinding | resolveFieldBinding() Resolves and returns the binding for the field accessed by this expression. |
ITypeBinding | resolveTypeBinding() Resolves and returns the binding for the type of this expression. |
void | setExpression(Expression expression) Sets the expression of this field access expression. |
void | setName(SimpleName fieldName) Sets the name of the field accessed in this field access expression. |
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. |