Class AnnotationProcessor


  • public class AnnotationProcessor
    extends java.lang.Object
    It checks whether the files contain macro annotations and calls their register and processing functions.
    • Constructor Detail

      • AnnotationProcessor

        public AnnotationProcessor()
    • Method Detail

      • indexingPhase

        public java.lang.Object indexingPhase​(ActiveAnnotationContext ctx,
                                              org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor acceptor,
                                              org.eclipse.xtext.util.CancelIndicator monitor)
        gets called from Xtend compiler, during "model inference", i.e. translation of Xtend AST to Java AST
      • inferencePhase

        public java.lang.Object inferencePhase​(ActiveAnnotationContext ctx,
                                               org.eclipse.xtext.util.CancelIndicator monitor)
      • validationPhase

        public java.lang.Object validationPhase​(ActiveAnnotationContext ctx,
                                                org.eclipse.xtext.util.CancelIndicator monitor)