Class ActiveAnnotationContextProvider


  • public class ActiveAnnotationContextProvider
    extends java.lang.Object
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActiveAnnotationContextProvider

        public ActiveAnnotationContextProvider()
    • Method Detail

      • 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)