Package org.eclipse.xtend.core.macro
Class AnnotationProcessor
- java.lang.Object
-
- org.eclipse.xtend.core.macro.AnnotationProcessor
-
public class AnnotationProcessor extends java.lang.Object
It checks whether the files contain macro annotations and calls their register and processing functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnnotationProcessor.CancellationObserver
-
Constructor Summary
Constructors Constructor Description AnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.java.lang.Object
inferencePhase(ActiveAnnotationContext ctx, org.eclipse.xtext.util.CancelIndicator monitor)
java.lang.Object
validationPhase(ActiveAnnotationContext ctx, org.eclipse.xtext.util.CancelIndicator monitor)
-
-
-
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)
-
-