Class TurbineRoundEnvironment

  • All Implemented Interfaces:
    javax.annotation.processing.RoundEnvironment

    public class TurbineRoundEnvironment
    extends java.lang.Object
    implements javax.annotation.processing.RoundEnvironment
    A RoundEnvironment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean errorRaised()  
      java.util.Set<? extends javax.lang.model.element.Element> getElementsAnnotatedWith​(java.lang.Class<? extends java.lang.annotation.Annotation> a)  
      java.util.Set<? extends javax.lang.model.element.Element> getElementsAnnotatedWith​(javax.lang.model.element.TypeElement a)  
      com.google.common.collect.ImmutableSet<com.google.turbine.processing.TurbineElement.TurbineTypeElement> getRootElements()  
      boolean processingOver()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.annotation.processing.RoundEnvironment

        getElementsAnnotatedWithAny, getElementsAnnotatedWithAny
    • Constructor Detail

      • TurbineRoundEnvironment

        public TurbineRoundEnvironment​(ModelFactory factory,
                                       com.google.common.collect.ImmutableSet<ClassSymbol> syms,
                                       boolean processingOver,
                                       boolean errorRaised,
                                       com.google.common.collect.ImmutableSetMultimap<ClassSymbol,​Symbol> allAnnotations)
    • Method Detail

      • processingOver

        public boolean processingOver()
        Specified by:
        processingOver in interface javax.annotation.processing.RoundEnvironment
      • errorRaised

        public boolean errorRaised()
        Specified by:
        errorRaised in interface javax.annotation.processing.RoundEnvironment
      • getRootElements

        public com.google.common.collect.ImmutableSet<com.google.turbine.processing.TurbineElement.TurbineTypeElement> getRootElements()
        Specified by:
        getRootElements in interface javax.annotation.processing.RoundEnvironment
      • getElementsAnnotatedWith

        public java.util.Set<? extends javax.lang.model.element.Element> getElementsAnnotatedWith​(javax.lang.model.element.TypeElement a)
        Specified by:
        getElementsAnnotatedWith in interface javax.annotation.processing.RoundEnvironment
      • getElementsAnnotatedWith

        public java.util.Set<? extends javax.lang.model.element.Element> getElementsAnnotatedWith​(java.lang.Class<? extends java.lang.annotation.Annotation> a)
        Specified by:
        getElementsAnnotatedWith in interface javax.annotation.processing.RoundEnvironment