Package | Description |
---|---|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
org.eclipse.jdt.core.dom.rewrite |
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.
|
Modifier and Type | Class and Description |
---|---|
class |
ChildListPropertyDescriptor
Descriptor for a child list property of an AST node.
|
class |
ChildPropertyDescriptor
Descriptor for a child property of an AST node.
|
class |
SimplePropertyDescriptor
Descriptor for a simple property of an AST node.
|
Modifier and Type | Method and Description |
---|---|
StructuralPropertyDescriptor |
ASTNode.getLocationInParent()
Returns the location of this node within its parent,
or
null if this is a root node. |
Modifier and Type | Method and Description |
---|---|
Object |
ASTNode.getStructuralProperty(StructuralPropertyDescriptor property)
Returns the value of the given structural property for this node.
|
void |
ASTNode.setStructuralProperty(StructuralPropertyDescriptor property,
Object value)
Sets the value of the given structural property for this node.
|
Modifier and Type | Method and Description |
---|---|
StructuralPropertyDescriptor |
ListRewrite.getLocationInParent()
Returns the property of the parent node for which this list rewriter was created.
|
Modifier and Type | Method and Description |
---|---|
Object |
ASTRewrite.get(ASTNode node,
StructuralPropertyDescriptor property)
Returns the value of the given property as managed by this rewriter.
|
void |
ASTRewrite.set(ASTNode node,
StructuralPropertyDescriptor property,
Object value,
TextEditGroup editGroup)
Sets the given property of the given node.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.