Class LifecycleBeforeTransformationVisitor

All Implemented Interfaces:
GroovyClassVisitor, GroovyCodeVisitor, ErrorCollecting

public class LifecycleBeforeTransformationVisitor extends BaseVisitor

AST transformation visitor which is triggered before applying AnnotationProcessor related transformations.

See Also:
  • Constructor Details

    • LifecycleBeforeTransformationVisitor

      public LifecycleBeforeTransformationVisitor(SourceUnit sourceUnit, ReaderSource source, ProcessingContextInformation pci)
      Creates a visitor that runs lifecycle hooks before annotation processors are applied.
      Parameters:
      sourceUnit - the source unit currently being transformed
      source - the reader source backing the source unit
      pci - per-class processing context shared across the contracts pipeline
  • Method Details