Example usage for Java org.eclipse.jdt.core.dom Type fields, constructors, methods, implement or subclass
The text is from its open source code.
void | accept(ASTVisitor visitor) Accepts the given visitor on a visit of the current node. |
void | delete() Removes this node from its parent. |
boolean | equals(Object obj) The ASTNode implementation of this Object method uses object identity (==). |
AST | getAST() Returns this node's AST. |
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. |
int | getNodeType() Returns an integer value identifying the type of this concrete AST node. |
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. |
int | getStartPosition() Returns the character index into the original source file indicating where the source fragment corresponding to this node begins. |
boolean | isArrayType() Returns whether this type is an array type ( ArrayType ). |
boolean | isIntersectionType() Returns whether this type is an intersection type ( IntersectionType ). |
boolean | isParameterizedType() Returns whether this type is a parameterized type ( ParameterizedType ). |
boolean | isPrimitiveType() Returns whether this type is a primitive type ( PrimitiveType ). |
boolean | isQualifiedType() Returns whether this type is a qualified type ( QualifiedType ). |
boolean | isSimpleType() Returns whether this type is a simple type ( SimpleType ). |
boolean | isUnionType() Returns whether this type is a union type ( UnionType ). |
boolean | isWildcardType() Returns whether this type is a wildcard type ( WildcardType ). |
ITypeBinding | resolveBinding() Resolves and returns the binding for this type. |
void | setFlags(int flags) Sets the flags associated with this node to the given value. |
void | setParent(ASTNode parent, StructuralPropertyDescriptor property) Sets or clears this node's parent node and location. |
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. |
boolean | subtreeMatch(ASTMatcher matcher, Object other) Returns whether the subtree rooted at the given node matches the given other object as decided by the given matcher. |
String | toString() Returns a string representation of this node suitable for debugging purposes only. |