Package org.eclipse.xtend.core.macro
Class ActiveAnnotationContextProvider
- java.lang.Object
-
- org.eclipse.xtend.core.macro.ActiveAnnotationContextProvider
-
public class ActiveAnnotationContextProvider extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ActiveAnnotationContextProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveAnnotationContexts
computeContext(XtendFile file)
protected void
registerMacroAnnotations(XtendAnnotationTarget candidate, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.xbase.lib.Pair<org.eclipse.xtext.common.types.JvmAnnotationType,org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>> acceptor)
protected void
searchAnnotatedElements(org.eclipse.emf.ecore.EObject element, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.xbase.lib.Pair<org.eclipse.xtext.common.types.JvmAnnotationType,org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>> acceptor)
recursively looks for macro annotations on XtendAnnotationTargets
-
-
-
Method Detail
-
computeContext
public ActiveAnnotationContexts computeContext(XtendFile file)
-
searchAnnotatedElements
protected void searchAnnotatedElements(org.eclipse.emf.ecore.EObject element, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.xbase.lib.Pair<org.eclipse.xtext.common.types.JvmAnnotationType,org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>> acceptor)
recursively looks for macro annotations on XtendAnnotationTargets
-
registerMacroAnnotations
protected void registerMacroAnnotations(XtendAnnotationTarget candidate, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.xbase.lib.Pair<org.eclipse.xtext.common.types.JvmAnnotationType,org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>> acceptor)
-
-