Class MemoizedValidator.ValidationStep

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.annotation.processing.Messager messager  
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidationStep​(javax.annotation.processing.Messager messager)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<? extends java.lang.Class<? extends java.lang.annotation.Annotation>> annotations()
      The set of annotation types processed by this step.
      private static boolean isAutoValue​(javax.lang.model.element.Element element)  
      java.util.Set<javax.lang.model.element.Element> process​(com.google.common.collect.SetMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,​javax.lang.model.element.Element> elementsByAnnotation)
      The implementation of processing logic for the step.
      • Methods inherited from class java.lang.Object

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

      • messager

        private final javax.annotation.processing.Messager messager
    • Constructor Detail

      • ValidationStep

        ValidationStep​(javax.annotation.processing.Messager messager)
    • Method Detail

      • process

        public java.util.Set<javax.lang.model.element.Element> process​(com.google.common.collect.SetMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,​javax.lang.model.element.Element> elementsByAnnotation)
        Description copied from interface: BasicAnnotationProcessor.ProcessingStep
        The implementation of processing logic for the step. It is guaranteed that the keys in elementsByAnnotation will be a subset of the set returned by BasicAnnotationProcessor.ProcessingStep.annotations().
        Specified by:
        process in interface BasicAnnotationProcessor.ProcessingStep
        Returns:
        the elements (a subset of the values of elementsByAnnotation) that this step is unable to process, possibly until a later processing round. These elements will be passed back to this step at the next round of processing.
      • isAutoValue

        private static boolean isAutoValue​(javax.lang.model.element.Element element)