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 StringgetFullClassName(TypeElement typeElement) private voidprivate voidlogMessage(Diagnostic.Kind kind, String message) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) private voidMethods 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:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getFullClassName
-
updateFileIfChanged
- Throws:
IOException
-
logMessage
-
logError
-