Interface TransformationParticipant<T extends MutableNamedElement>

Type Parameters:
T - the type which this processor processes.
All Known Implementing Classes:
AbstractAnnotationTypeProcessor, AbstractClassProcessor, AbstractConstructorProcessor, AbstractEnumerationTypeProcessor, AbstractFieldProcessor, AbstractInterfaceProcessor, AbstractMethodProcessor

@Beta public interface TransformationParticipant<T extends MutableNamedElement>
A callback interface for the transformation phase, in which the Xtend AST is translated to the Java elements. This callback is invoked after the primary translation by the Xtend compiler is done. It is safe to resolve any TypeReferences during this phase as long as they are not inferred from an expression. It's not allowed to resolve any expressions during this phase.
Author:
Sven Efftinge
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doTransform(List<? extends T> annotatedTargetElements, TransformationContext context)
    Invoked by the compiler
  • Method Details

    • doTransform

      void doTransform(List<? extends T> annotatedTargetElements, @Extension TransformationContext context)
      Invoked by the compiler
      Parameters:
      annotatedTargetElements - the mutable java representation of the annotated elements
      context - a TransformationContext providing useful services.