Interface PostCompletionFactory

All Known Implementing Classes:
CustomizersFactory, InlinedASTCustomizerFactory, SourceAwareCustomizerFactory

public interface PostCompletionFactory
A helper interface for factories which require post-processing of generated nodes.
Since:
2.1.0
  • Method Details

    • postCompleteNode

      Object postCompleteNode(FactoryBuilderSupport factory, Object parent, Object node)
      Finishes node after the builder has attached its children.
      Parameters:
      factory - the builder that produced node
      parent - the node node was added to; may be null
      node - the node that was just completed
      Returns:
      the node that should replace node, often node itself