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

public @Interface Active

extends Annotation
Annotations
@Beta
@Retention:RUNTIME
@Target:ANNOTATION_TYPE
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, com.google.common.annotations.Beta

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: Note, that in the IDE phase one, two and three are executed in the editor as you type, while phase 4 (code generation) only gets executed when the editor's contents gets saved to disk.
Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

the processor to call during compilation. should implement one or more of the processor interfaces RegisterGlobalsParticipant, TransformationParticipant.
value
()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<?> value()
Returns:Class<?>

the processor to call during compilation. should implement one or more of the processor interfaces RegisterGlobalsParticipant, TransformationParticipant.