org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite
Interface RewriteEventStore.INodePropertyMapper
- Enclosing class:
- RewriteEventStore
public static interface RewriteEventStore.INodePropertyMapper
Interface that allows to override the way how children are accessed from
a parent. Use this interface when the rewriter is set up on an already
modified AST's (as it is the case in the old ASTRewrite infrastructure)
getOriginalValue
java.lang.Object getOriginalValue(ASTNode parent,
StructuralPropertyDescriptor childProperty)
- Returns the node attribute for a given property name.
- Parameters:
parent - The parent nodechildProperty - The child property to access
- Returns:
- The child node at the given property location.