Class PanacheAnnotationProcessor
- java.lang.Object
-
- io.quarkus.panache.common.runtime.PanacheAnnotationProcessor
-
- All Implemented Interfaces:
Processor
public class PanacheAnnotationProcessor extends Object implements 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
Constructors Constructor Description PanacheAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<? extends Completion>
getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
Set<String>
getSupportedAnnotationTypes()
Set<String>
getSupportedOptions()
SourceVersion
getSupportedSourceVersion()
void
init(ProcessingEnvironment processingEnv)
boolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
-
-
Method Detail
-
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptions
in interfaceProcessor
-
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypes
in interfaceProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
-
init
public void init(ProcessingEnvironment processingEnv)
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
getCompletions
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
- Specified by:
getCompletions
in interfaceProcessor
-
-