Schnittstelle RewriteEventStore.INodePropertyMapper
- Umschließende Klasse:
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)
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetOriginalValue
(ASTNode parent, StructuralPropertyDescriptor childProperty) Returns the node attribute for a given property name.
-
Methodendetails
-
getOriginalValue
Returns the node attribute for a given property name.- Parameter:
parent
- The parent nodechildProperty
- The child property to access- Gibt zurück:
- The child node at the given property location.
-