@SupportedSourceVersion(value=RELEASE_8)
public class RouteCartographer
extends javax.annotation.processing.AbstractProcessor
| Constructor and Description |
|---|
RouteCartographer()
Default constructor, it only initialises
annotationClasses. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getSupportedAnnotationTypes() |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment env)
Processes Spring's annotations, NOT claiming them for itself.
|
public RouteCartographer()
annotationClasses.public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment env)
Route object for each route and adds it to foundRoutes,
then proceeds to print it to a file.process in interface javax.annotation.processing.Processorprocess in class javax.annotation.processing.AbstractProcessorannotations - the annotation types requested to be processedenv - environment for information about the current and prior roundpublic java.util.Set<java.lang.String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface javax.annotation.processing.ProcessorgetSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessor