Class ValueAnnotationProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.github.egoettelmann.annotationprocessor.spring.value.ValueAnnotationProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("org.springframework.beans.factory.annotation.Value") public class ValueAnnotationProcessor extends AbstractProcessor
TODO: - add configuration options (checkout: https://stackoverflow.com/a/53274771): - failOnError: allows to ignore any exception occurring during processing - targetPath: customize output path - targetFile: customize output file name
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description ValueAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(ProcessingEnvironment processingEnv)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
-
-
-
Method Detail
-
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
-