Top Description Methods
org.eclipse.xtend.lib.macro

public Interface TransformationParticipant<T extends MutableNamedElement>

Known Direct Implementers
org.eclipse.xtend.lib.macro.AbstractAnnotationTypeProcessor, org.eclipse.xtend.lib.macro.AbstractClassProcessor, org.eclipse.xtend.lib.macro.AbstractConstructorProcessor, org.eclipse.xtend.lib.macro.AbstractEnumerationTypeProcessor, org.eclipse.xtend.lib.macro.AbstractFieldProcessor, org.eclipse.xtend.lib.macro.AbstractInterfaceProcessor, org.eclipse.xtend.lib.macro.AbstractMethodProcessor
Annotations
@Beta
Type Parameters
<T>
the type which this processor processes.
Imports
java.util.List, org.eclipse.xtend.lib.macro.declaration.MutableNamedElement, .TypeReference, org.eclipse.xtext.xbase.lib.Extension, com.google.common.annotations.Beta

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 TypeMethod and Description
public void
doTransform(List<? extends T>
the mutable java representation of the annotated elements
annotatedTargetElements
,
TransformationContext
a TransformationContext providing useful services.
context
)

Invoked by the compiler

Method Detail

doTransformback to summary
public void doTransform(List<? extends T> annotatedTargetElements, TransformationContext context)

Invoked by the compiler

Parameters
annotatedTargetElements:List<? extends T>

the mutable java representation of the annotated elements

context:TransformationContext

a TransformationContext providing useful services.