Package org.apache.maven.di.tool
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
-
Field Summary
FieldsFields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
getFullClassName
(TypeElement typeElement) private void
private void
logMessage
(Diagnostic.Kind kind, String message) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) private void
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
-
Field Details
-
processedClasses
-
-
Constructor Details
-
DiIndexProcessor
public DiIndexProcessor()
-
-
Method Details
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getFullClassName
-
updateFileIfChanged
- Throws:
IOException
-
logMessage
-
logError
-