Class ProcessDataBinding.ProcessingStep

    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessingStep()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected android.databinding.tool.writer.JavaFileWriter getWriter()  
      abstract boolean onHandleStep​(javax.annotation.processing.RoundEnvironment roundEnvironment, javax.annotation.processing.ProcessingEnvironment processingEnvironment, android.databinding.tool.CompilerArguments args)
      Invoked in each annotation processing step.
      abstract void onProcessingOver​(javax.annotation.processing.RoundEnvironment roundEnvironment, javax.annotation.processing.ProcessingEnvironment processingEnvironment, android.databinding.tool.CompilerArguments args)
      Invoked when processing is done.
      • Methods inherited from class java.lang.Object

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

      • ProcessingStep

        public ProcessingStep()
    • Method Detail

      • getWriter

        protected android.databinding.tool.writer.JavaFileWriter getWriter()
      • onHandleStep

        public abstract boolean onHandleStep​(javax.annotation.processing.RoundEnvironment roundEnvironment,
                                             javax.annotation.processing.ProcessingEnvironment processingEnvironment,
                                             android.databinding.tool.CompilerArguments args)
                                      throws javax.xml.bind.JAXBException
        Invoked in each annotation processing step.
        Returns:
        True if it is done and should never be invoked again.
        Throws:
        javax.xml.bind.JAXBException
      • onProcessingOver

        public abstract void onProcessingOver​(javax.annotation.processing.RoundEnvironment roundEnvironment,
                                              javax.annotation.processing.ProcessingEnvironment processingEnvironment,
                                              android.databinding.tool.CompilerArguments args)
        Invoked when processing is done. A good place to generate the output if the processor requires multiple steps.