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)
-
Method Summary
Modifier and TypeMethodDescriptiongetOriginalValue(ASTNode parent, StructuralPropertyDescriptor childProperty)
Returns the node attribute for a given property name.
-
Method Details
-
getOriginalValue
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.
-