Class PanacheAnnotationProcessor
java.lang.Object
io.quarkus.panache.common.runtime.PanacheAnnotationProcessor
- All Implemented Interfaces:
Processor
An annotation processor that is used to generate a marker file, to tell Quarkus that this archive has a dependency on
Panache entities, and therefore may need to be transformed for enhanced field access.
This works because any archive that depends on Panache will have a transitive dependency on panache-common, which
contains this processor. The Javac compiler will then run this processor and create the marker file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIterable<? extends Completion>
getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) void
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
Constructor Details
-
PanacheAnnotationProcessor
public PanacheAnnotationProcessor()
-
-
Method Details
-
getSupportedOptions
- Specified by:
getSupportedOptions
in interfaceProcessor
-
getSupportedAnnotationTypes
- Specified by:
getSupportedAnnotationTypes
in interfaceProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
-
init
-
process
-
getCompletions
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) - Specified by:
getCompletions
in interfaceProcessor
-