Class TurbineProcessingEnvironment

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

    public class TurbineProcessingEnvironment
    extends java.lang.Object
    implements javax.annotation.processing.ProcessingEnvironment
    Turbine's ProcessingEnvironment.
    • Constructor Summary

      Constructors 
      Constructor Description
      TurbineProcessingEnvironment​(javax.annotation.processing.Filer filer, javax.lang.model.util.Types types, javax.lang.model.util.Elements elements, javax.annotation.processing.Messager messager, java.util.Map<java.lang.String,​java.lang.String> processorOptions, javax.lang.model.SourceVersion sourceVersion, @Nullable java.lang.ClassLoader processorLoader, java.util.Map<java.lang.String,​byte[]> statistics)  
    • Constructor Detail

      • TurbineProcessingEnvironment

        public TurbineProcessingEnvironment​(javax.annotation.processing.Filer filer,
                                            javax.lang.model.util.Types types,
                                            javax.lang.model.util.Elements elements,
                                            javax.annotation.processing.Messager messager,
                                            java.util.Map<java.lang.String,​java.lang.String> processorOptions,
                                            javax.lang.model.SourceVersion sourceVersion,
                                            @Nullable java.lang.ClassLoader processorLoader,
                                            java.util.Map<java.lang.String,​byte[]> statistics)
    • Method Detail

      • getOptions

        public java.util.Map<java.lang.String,​java.lang.String> getOptions()
        Specified by:
        getOptions in interface javax.annotation.processing.ProcessingEnvironment
      • getMessager

        public javax.annotation.processing.Messager getMessager()
        Specified by:
        getMessager in interface javax.annotation.processing.ProcessingEnvironment
      • getFiler

        public javax.annotation.processing.Filer getFiler()
        Specified by:
        getFiler in interface javax.annotation.processing.ProcessingEnvironment
      • getElementUtils

        public javax.lang.model.util.Elements getElementUtils()
        Specified by:
        getElementUtils in interface javax.annotation.processing.ProcessingEnvironment
      • getTypeUtils

        public javax.lang.model.util.Types getTypeUtils()
        Specified by:
        getTypeUtils in interface javax.annotation.processing.ProcessingEnvironment
      • getSourceVersion

        public javax.lang.model.SourceVersion getSourceVersion()
        Specified by:
        getSourceVersion in interface javax.annotation.processing.ProcessingEnvironment
      • getLocale

        public java.util.Locale getLocale()
        Specified by:
        getLocale in interface javax.annotation.processing.ProcessingEnvironment
      • processorLoader

        public java.lang.ClassLoader processorLoader()
      • addStatistics

        public void addStatistics​(java.lang.String key,
                                  byte[] extension)