Class ProcessorUtil


  • final class ProcessorUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ProcessorUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void generate​(javax.tools.JavaFileManager.Location location, java.lang.String fileName, java.lang.String content, javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.element.Element... elements)  
      (package private) static java.lang.String stacktrace​(java.lang.Exception e)  
      (package private) static void write​(java.lang.String text, javax.tools.FileObject resource)  
      • Methods inherited from class java.lang.Object

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

      • ProcessorUtil

        private ProcessorUtil()
    • Method Detail

      • generate

        static void generate​(javax.tools.JavaFileManager.Location location,
                             java.lang.String fileName,
                             java.lang.String content,
                             javax.annotation.processing.ProcessingEnvironment processingEnv,
                             javax.lang.model.element.Element... elements)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        static void write​(java.lang.String text,
                          javax.tools.FileObject resource)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • stacktrace

        static java.lang.String stacktrace​(java.lang.Exception e)