Class SubclassGenerator


  • public class SubclassGenerator
    extends Object
    A subclass is generated for any intercepted/decorated bean.
    • Field Detail

      • FIELD_METADATA_METHOD

        protected static final io.quarkus.gizmo.FieldDescriptor FIELD_METADATA_METHOD
      • FIELD_METADATA_CHAIN

        protected static final io.quarkus.gizmo.FieldDescriptor FIELD_METADATA_CHAIN
      • FIELD_METADATA_BINDINGS

        protected static final io.quarkus.gizmo.FieldDescriptor FIELD_METADATA_BINDINGS
      • generateSources

        protected final boolean generateSources
    • Method Detail

      • createConstructor

        protected io.quarkus.gizmo.FieldDescriptor createConstructor​(io.quarkus.gizmo.ClassOutput classOutput,
                                                                     BeanInfo bean,
                                                                     io.quarkus.gizmo.ClassCreator subclass,
                                                                     org.jboss.jandex.Type providerType,
                                                                     String providerTypeName,
                                                                     ReflectionRegistration reflectionRegistration)
      • createDestroy

        protected void createDestroy​(io.quarkus.gizmo.ClassOutput classOutput,
                                     BeanInfo bean,
                                     io.quarkus.gizmo.ClassCreator subclass,
                                     io.quarkus.gizmo.FieldDescriptor preDestroysField)
        Parameters:
        classOutput -
        bean -
        subclass -
        preDestroysField -
      • isReflectionFallbackNeeded

        protected boolean isReflectionFallbackNeeded​(org.jboss.jandex.MethodInfo method,
                                                     String targetPackage)
      • isReflectionFallbackNeeded

        protected boolean isReflectionFallbackNeeded​(org.jboss.jandex.FieldInfo field,
                                                     String targetPackage)
      • isPackagePrivate

        protected boolean isPackagePrivate​(int mod)