Class NativeImageConfigGeneratorProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- picocli.codegen.annotation.processing.AbstractCommandSpecProcessor
-
- picocli.codegen.aot.graalvm.processor.AbstractCompositeGeneratorProcessor
-
- picocli.codegen.aot.graalvm.processor.NativeImageConfigGeneratorProcessor
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedOptions({"project","other.resource.bundles","other.resource.patterns","other.proxy.interfaces","disable.reflect.config","disable.resource.config","disable.proxy.config"}) public class NativeImageConfigGeneratorProcessor extends AbstractCompositeGeneratorProcessor- Since:
- 4.0
- See Also:
ReflectionConfigGenerator,ResourceConfigGenerator,DynamicProxyConfigGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASE_PATHBase path where generated files will be written to: "META-INF/native-image/picocli-generated/".static java.lang.StringOPTION_PROJECTName of the annotation processor option that can be used to control the actual location where the generated file(s) are to be written to, relative to theBASE_PATH.-
Fields inherited from class picocli.codegen.aot.graalvm.processor.AbstractCompositeGeneratorProcessor
allCommands, generators
-
Fields inherited from class picocli.codegen.annotation.processing.AbstractCommandSpecProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description NativeImageConfigGeneratorProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(javax.annotation.processing.ProcessingEnvironment processingEnv)-
Methods inherited from class picocli.codegen.aot.graalvm.processor.AbstractCompositeGeneratorProcessor
handleCommands
-
Methods inherited from class picocli.codegen.annotation.processing.AbstractCommandSpecProcessor
error, fatalError, getSupportedAnnotationTypes, getSupportedSourceVersion, logInfo, process, warn
-
-
-
-
Field Detail
-
BASE_PATH
public static final java.lang.String BASE_PATH
Base path where generated files will be written to: "META-INF/native-image/picocli-generated/".- See Also:
- Constant Field Values
-
OPTION_PROJECT
public static final java.lang.String OPTION_PROJECT
Name of the annotation processor option that can be used to control the actual location where the generated file(s) are to be written to, relative to theBASE_PATH. The value of this constant is "project".- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
- Specified by:
initin interfacejavax.annotation.processing.Processor- Overrides:
initin classAbstractCommandSpecProcessor
-
-