| Package | Description |
|---|---|
| org.eclipse.emf.codegen.merge.java.facade.ast |
| Modifier and Type | Class and Description |
|---|---|
class |
ASTJAbstractType<T extends AbstractTypeDeclaration> |
class |
ASTJAnnotation
Wraps
Annotation object. |
class |
ASTJAnnotationType
Wraps
AnnotationTypeDeclaration object. |
class |
ASTJAnnotationTypeMember |
class |
ASTJCompilationUnit
Wraps
CompilationUnit object. |
class |
ASTJEnum |
class |
ASTJEnumConstant |
class |
ASTJField
Represents a single variable in a field declaration.
|
class |
ASTJImport
Wraps
ImportDeclaration object. |
class |
ASTJInitializer
Wraps
Initializer object. |
class |
ASTJMember<T extends BodyDeclaration>
Each
ASTJMember has a reference to BodyDeclaration as a wrapped object. |
class |
ASTJMethod
Wraps
MethodDeclaration object. |
class |
ASTJPackage
Wraps
PackageDeclaration object. |
class |
ASTJType
Wraps
TypeDeclaration object. |
| Modifier and Type | Field and Description |
|---|---|
protected ASTJNode<?> |
ASTNodeConverter.EnumToTypeConverter.lastFinalFieldUsed
Last field used in the initializer string of the fields converted from enum constants.
|
| Modifier and Type | Method and Description |
|---|---|
ASTJNode<?> |
ASTFacadeHelper.cloneNode(java.lang.Object context,
JNode node)
Creates a copy of the node to be inserted in the tree that context node belongs to.
|
protected ASTJNode<?> |
ASTNodeConverter.EnumToTypeConverter.convertEnumConstToField(ASTJEnumConstant enumConstant)
Converts enum constant to field.
|
protected ASTJNode<?> |
ASTNodeConverter.TypeToEnumConverter.convertFieldToEnumConst(ASTJField field)
Converts given field to enum constant if possible.
|
protected ASTJNode<?> |
ASTFacadeHelper.doConvertToNode(java.lang.Object object) |
ASTJNode<?> |
ASTFacadeHelper.findParent(ASTNode node)
Finds the parent node based on the parent of wrapped AST node.
|
ASTJNode<?> |
ASTJNode.getParent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ASTJField.addChild(ASTJNode<?> child) |
boolean |
ASTJNode.addChild(ASTJNode<?> child)
Adds a child to this node.
|
boolean |
ASTJMember.addChild(ASTJNode<?> child) |
boolean |
ASTJEnum.addChild(ASTJNode<?> child) |
boolean |
ASTJCompilationUnit.addChild(ASTJNode<?> child) |
boolean |
ASTJAbstractType.addChild(ASTJNode<?> child) |
protected void |
ASTJField.childToBeChanged(ASTJNode<?> child) |
protected void |
ASTJNode.childToBeChanged(ASTJNode<?> child)
Notifies the node that the child will be changed.
|
protected ASTJField |
ASTFacadeHelper.cloneField(ASTJField originalField,
ASTJNode<?> contextNode)
Copies the ASTJField node.
|
protected void |
ASTJNode.insert(ASTJNode<?> newNode,
ChildListPropertyDescriptor property,
ASTJNode<?> targetNode,
boolean before)
Inserts AST node wrapped by new node beside target node in the list defined by given property.
|
protected void |
ASTJNode.insert(ASTJNode<?> newNode,
ChildListPropertyDescriptor property,
ASTJNode<?> targetNode,
boolean before)
Inserts AST node wrapped by new node beside target node in the list defined by given property.
|
protected void |
ASTJNode.insertFirst(ASTJNode<?> newNode,
ChildListPropertyDescriptor property)
Inserts AST node wrapped by new node at the beginning of the list of nodes defined by given property.
|
protected void |
ASTJNode.insertLast(ASTJNode<?> newNode,
ChildListPropertyDescriptor property)
Inserts AST node wrapped by new node at the end of the list of nodes defined by given property.
|
boolean |
ASTJField.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJField.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJNode.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before)
Inserts
newSibling as a child of this node before or after the given node. |
boolean |
ASTJNode.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before)
Inserts
newSibling as a child of this node before or after the given node. |
boolean |
ASTJMember.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJMember.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJEnum.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJEnum.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJCompilationUnit.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJCompilationUnit.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJAbstractType.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJAbstractType.insertSibling(ASTJNode<?> node,
ASTJNode<?> newSibling,
boolean before) |
boolean |
ASTJField.remove(ASTJNode<?> node) |
boolean |
ASTJNode.remove(ASTJNode<?> node)
Removes a node.
|
boolean |
ASTJMember.remove(ASTJNode<?> node) |
boolean |
ASTJEnum.remove(ASTJNode<?> node) |
boolean |
ASTJCompilationUnit.remove(ASTJNode<?> node)
Removes the given node.
|
boolean |
ASTJAbstractType.remove(ASTJNode<?> node)
Removes the node.
|
protected void |
ASTJNode.remove(ASTJNode<?> node,
ChildListPropertyDescriptor property)
Removes AST node wrapped by given
ASTJNode from the given property. |
void |
ASTJNode.setParent(ASTJNode<?> parent)
Sets the parent of this node.
|
void |
ASTFacadeHelper.updateObjectToNodeMap(ASTJNode<?> node)
Updates wrapped objects to nodes map.
|
Copyright © 2019. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature