Package com.google.auto.common
Interface BasicAnnotationProcessor.ProcessingStep
-
- Enclosing class:
- BasicAnnotationProcessor
public static interface BasicAnnotationProcessor.ProcessingStep
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 Modifier and Type Method Description Set<? extends Class<? extends Annotation>>
annotations()
The set of annotation types processed by this step.Set<Element>
process(com.google.common.collect.SetMultimap<Class<? extends Annotation>,Element> elementsByAnnotation)
The implementation of processing logic for the step.
-
-
-
Method Detail
-
annotations
Set<? extends Class<? extends Annotation>> annotations()
The set of annotation types processed by this step.
-
process
Set<Element> process(com.google.common.collect.SetMultimap<Class<? extends Annotation>,Element> elementsByAnnotation)
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 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.
-
-