Class AnnotationLiteralProcessor


  • public class AnnotationLiteralProcessor
    extends Object
    Generates shared annotation literal classes that can be used to represent annotation instances at runtime.

    This construct is thread-safe.

    • Method Detail

      • process

        public io.quarkus.gizmo.ResultHandle process​(io.quarkus.gizmo.BytecodeCreator bytecode,
                                                     io.quarkus.gizmo.ClassOutput classOutput,
                                                     org.jboss.jandex.ClassInfo annotationClass,
                                                     org.jboss.jandex.AnnotationInstance annotationInstance,
                                                     String targetPackage)
        Parameters:
        bytecode -
        classOutput -
        annotationClass -
        annotationInstance -
        targetPackage - Target package is only used if annotation literals are not shared
        Returns:
        an annotation literal result handle