Class ClassRestClientContext

java.lang.Object
io.quarkus.jaxrs.client.reactive.deployment.ClassRestClientContext
All Implemented Interfaces:
AutoCloseable

class ClassRestClientContext extends Object implements AutoCloseable
  • Field Details

    • classCreator

      public final io.quarkus.gizmo.ClassCreator classCreator
    • constructor

      public final io.quarkus.gizmo.MethodCreator constructor
    • clinit

      public final io.quarkus.gizmo.MethodCreator clinit
    • methodStaticFields

      public final Map<Integer,io.quarkus.gizmo.FieldDescriptor> methodStaticFields
    • methodParamAnnotationsStaticFields

      public final Map<Integer,io.quarkus.gizmo.FieldDescriptor> methodParamAnnotationsStaticFields
    • methodGenericParametersStaticFields

      public final Map<Integer,io.quarkus.gizmo.FieldDescriptor> methodGenericParametersStaticFields
    • beanTypesParameterDescriptorsStaticFields

      public final Map<String,io.quarkus.gizmo.FieldDescriptor> beanTypesParameterDescriptorsStaticFields
    • classesMap

      public final Map<String,io.quarkus.gizmo.ResultHandle> classesMap
  • Constructor Details

    • ClassRestClientContext

      public ClassRestClientContext(String name, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.GeneratedClassBuildItem> generatedClasses, String... interfaces)
    • ClassRestClientContext

      public ClassRestClientContext(String name, io.quarkus.gizmo.MethodDescriptor constructorDesc, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.GeneratedClassBuildItem> generatedClasses, Class<?> superClass, String... interfaces)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • createJavaMethodField

      protected io.quarkus.gizmo.FieldDescriptor createJavaMethodField(org.jboss.jandex.ClassInfo interfaceClass, org.jboss.jandex.MethodInfo method, int methodIndex)
    • getLazyJavaMethodParamAnnotationsField

      protected Supplier<io.quarkus.gizmo.FieldDescriptor> getLazyJavaMethodParamAnnotationsField(int methodIndex)
      Generates "method.getParameterAnnotations()" and it will only be created if and only if the supplier is used in order to not have a penalty performance.
    • getLazyJavaMethodGenericParametersField

      protected Supplier<io.quarkus.gizmo.FieldDescriptor> getLazyJavaMethodGenericParametersField(int methodIndex)
      Generates "method.getGenericParameterTypes()" and it will only be created if and only if the supplier is used in order to not have a penalty performance.
    • getLazyBeanParameterDescriptors

      protected Supplier<io.quarkus.gizmo.FieldDescriptor> getLazyBeanParameterDescriptors(String beanClass)
      Generates "Class.forName(beanClass)" to generate the parameter descriptors. This method will only be created if and only if the supplier is used in order to not have a penalty performance.