Package com.google.auto.common
Interface BasicAnnotationProcessor.ProcessingStep
-
- Enclosing class:
- BasicAnnotationProcessor
@Deprecated public static interface BasicAnnotationProcessor.ProcessingStep
Deprecated.ImplementBasicAnnotationProcessor.Step
instead. SeeBasicAnnotationProcessor.steps()
.The unit of processing logic that runs under the guarantee that all elements are complete and well-formed. A step may reject elements that are not ready for processing but may be at a later round.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Set<? extends java.lang.Class<? extends java.lang.annotation.Annotation>>
annotations()
Deprecated.The set of annotation types processed by this step.java.util.Set<? extends 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)
Deprecated.The implementation of processing logic for the step.
-
-
-
Method Detail
-
annotations
java.util.Set<? extends java.lang.Class<? extends java.lang.annotation.Annotation>> annotations()
Deprecated.The set of annotation types processed by this step.
-
process
java.util.Set<? extends 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)
Deprecated.The implementation of processing logic for the step. It is guaranteed that the keys inelementsByAnnotation
will be a subset of the set returned byannotations()
.- 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.
-
-