Class DiIndexProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.apache.maven.di.tool.DiIndexProcessor
- All Implemented Interfaces:
- Processor
@SupportedAnnotationTypes("org.apache.maven.api.di.Named")
@SupportedSourceVersion(RELEASE_17)
public class DiIndexProcessor
extends AbstractProcessor
Annotation processor that generates an index file for classes annotated with 
Named.
 This processor scans for classes with the @Named annotation and creates a file
 at META-INF/maven/org.apache.maven.api.di.Inject containing the fully qualified
 names of these classes.- Since:
- 4.0.0
- 
Field SummaryFields inherited from class javax.annotation.processing.AbstractProcessorprocessingEnv
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Processes classes with theNamedannotation and generates an index file.Methods inherited from class javax.annotation.processing.AbstractProcessorgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
- 
Constructor Details- 
DiIndexProcessorpublic DiIndexProcessor()
 
- 
- 
Method Details- 
processProcesses classes with theNamedannotation and generates an index file.- Specified by:
- processin interface- Processor
- Specified by:
- processin class- AbstractProcessor
- Parameters:
- annotations- the annotation types requested to be processed
- roundEnv- environment for information about the current and prior round
- Returns:
- whether or not the set of annotations are claimed by this processor
 
 
-