Annotation Type Active


  • @Beta
    @Retention(RUNTIME)
    @Target(ANNOTATION_TYPE)
    public @interface Active
    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.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value