Package org.eclipse.xtend.lib.macro
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 anyTypeReferences during this phase as long as they are not inferred from an expression. It's not allowed to resolve any expressions during this phase.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoTransform(java.util.List<? extends T> annotatedTargetElements, TransformationContext context)Invoked by the compiler
-
-
-
Method Detail
-
doTransform
void doTransform(java.util.List<? extends T> annotatedTargetElements, @Extension TransformationContext context)
Invoked by the compiler- Parameters:
annotatedTargetElements- the mutable java representation of the annotated elementscontext- aTransformationContextproviding useful services.
-
-