Class ProcessingEnvironments


  • class ProcessingEnvironments
    extends java.lang.Object
    Internal utils relating to ProcessingEnvironment.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static boolean isEclipseImplementation​(javax.annotation.processing.ProcessingEnvironment environment)
      Detect if current compiler is ECJ (Eclipse Compiler).
      • Methods inherited from class java.lang.Object

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

      • ProcessingEnvironments

        private ProcessingEnvironments()
    • Method Detail

      • isEclipseImplementation

        static boolean isEclipseImplementation​(javax.annotation.processing.ProcessingEnvironment environment)
        Detect if current compiler is ECJ (Eclipse Compiler).
        Parameters:
        environment - runtime context of the compilation
        Returns:
        true if current annotation processor is executed as part of ECJ, false otherwise.