The active annotation is used to register compilation participants
with annotations.
They allow for enhancing and changing how Xtend code is translated to Java.
There are four compiler phases in which an active annotation can participate, each with different possibilities and constraints:
- Phase 1: Register Globals
RegisterGlobalsParticipant - Phase 2: Transformation
TransformationParticipant - Phase 3: Validate Code
ValidationParticipant - Phase 4: Generate Code
CodeGenerationParticipant
- Author:
- Sven Efftinge
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> value- Returns:
- the processor to call during compilation. should implement one or
more of the processor interfaces
RegisterGlobalsParticipant,TransformationParticipant.
-