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)
  • Methodendetails

    • getOriginalValue

      Object getOriginalValue(ASTNode parent, StructuralPropertyDescriptor childProperty)
      Returns the node attribute for a given property name.
      Parameter:
      parent - The parent node
      childProperty - The child property to access
      Gibt zurück:
      The child node at the given property location.