abstract class jdk.jfr.consumer.ObjectFactory<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: jdk.jfr.consumer.ObjectFactory
  super_class: java.lang.Object
{
  static final java.lang.String TYPE_PREFIX_VERSION_1;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "com.oracle.jfr.types."

  static final java.lang.String TYPE_PREFIX_VERSION_2;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "jdk.types."

  static final java.lang.String STACK_FRAME_VERSION_1;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "com.oracle.jfr.types.StackFrame"

  static final java.lang.String STACK_FRAME_VERSION_2;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "jdk.types.StackFrame"

  private final java.util.List<jdk.jfr.ValueDescriptor> valueDescriptors;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;

  public static jdk.jfr.consumer.ObjectFactory<?> create(jdk.jfr.internal.Type, jdk.jfr.consumer.TimeConverter);
    descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.Type type
        start local 1 // jdk.jfr.consumer.TimeConverter timeConverter
         0: .line 44
            aload 0 /* type */
            invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
            dup
            astore 2
            invokevirtual java.lang.String.hashCode:()I
            lookupswitch { // 12
          -1521454505: 1
          -1508525521: 2
          -1461342917: 3
          -1279061901: 4
          -1189480395: 5
          -1176551411: 6
           -530663260: 7
           -295970237: 8
           1132361561: 9
           1212802142: 10
           1405292581: 11
           1501967697: 12
              default: 20
          }
      StackMap locals: java.lang.String
      StackMap stack:
         1: aload 2
            ldc "jdk.types.StackFrame"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
            goto 20
      StackMap locals:
      StackMap stack:
         2: aload 2
            ldc "jdk.types.StackTrace"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 17
            goto 20
      StackMap locals:
      StackMap stack:
         3: aload 2
            ldc "com.oracle.jfr.types.ClassLoader"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 18
            goto 20
      StackMap locals:
      StackMap stack:
         4: aload 2
            ldc "jdk.types.Method"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 15
            goto 20
      StackMap locals:
      StackMap stack:
         5: aload 2
            ldc "com.oracle.jfr.types.StackFrame"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
            goto 20
      StackMap locals:
      StackMap stack:
         6: aload 2
            ldc "com.oracle.jfr.types.StackTrace"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 17
            goto 20
      StackMap locals:
      StackMap stack:
         7: aload 2
            ldc "java.lang.Class"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 19
            goto 20
      StackMap locals:
      StackMap stack:
         8: aload 2
            ldc "jdk.types.ThreadGroup"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 16
            goto 20
      StackMap locals:
      StackMap stack:
         9: aload 2
            ldc "jdk.types.ClassLoader"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 18
            goto 20
      StackMap locals:
      StackMap stack:
        10: aload 2
            ldc "java.lang.Thread"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
            goto 20
      StackMap locals:
      StackMap stack:
        11: aload 2
            ldc "com.oracle.jfr.types.ThreadGroup"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 16
            goto 20
      StackMap locals:
      StackMap stack:
        12: aload 2
            ldc "com.oracle.jfr.types.Method"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 15
            goto 20
        13: .line 46
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            aload 1 /* timeConverter */
            invokestatic jdk.jfr.consumer.RecordedThread.createFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            areturn
        14: .line 49
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            aload 1 /* timeConverter */
            invokestatic jdk.jfr.consumer.RecordedFrame.createFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            areturn
        15: .line 52
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            aload 1 /* timeConverter */
            invokestatic jdk.jfr.consumer.RecordedMethod.createFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            areturn
        16: .line 55
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            aload 1 /* timeConverter */
            invokestatic jdk.jfr.consumer.RecordedThreadGroup.createFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            areturn
        17: .line 58
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            aload 1 /* timeConverter */
            invokestatic jdk.jfr.consumer.RecordedStackTrace.createFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            areturn
        18: .line 61
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            aload 1 /* timeConverter */
            invokestatic jdk.jfr.consumer.RecordedClassLoader.createFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            areturn
        19: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            aload 1 /* timeConverter */
            invokestatic jdk.jfr.consumer.RecordedClass.createFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            areturn
        20: .line 65
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // jdk.jfr.consumer.TimeConverter timeConverter
        end local 0 // jdk.jfr.internal.Type type
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   21     0           type  Ljdk/jfr/internal/Type;
            0   21     1  timeConverter  Ljdk/jfr/consumer/TimeConverter;
    Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory<*>;
    MethodParameters:
               Name  Flags
      type           
      timeConverter  

  void <init>(jdk.jfr.internal.Type);
    descriptor: (Ljdk/jfr/internal/Type;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.consumer.ObjectFactory this
        start local 1 // jdk.jfr.internal.Type type
         0: .line 70
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 71
            aload 0 /* this */
            aload 1 /* type */
            invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
            putfield jdk.jfr.consumer.ObjectFactory.valueDescriptors:Ljava/util/List;
         2: .line 72
            return
        end local 1 // jdk.jfr.internal.Type type
        end local 0 // jdk.jfr.consumer.ObjectFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/consumer/ObjectFactory<TT;>;
            0    3     1  type  Ljdk/jfr/internal/Type;
    MethodParameters:
      Name  Flags
      type  

  T createObject(long, );
    descriptor: (JLjava/lang/Object;)Ljava/lang/Object;
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // jdk.jfr.consumer.ObjectFactory this
        start local 1 // long id
        start local 3 // java.lang.Object value
         0: .line 75
            aload 3 /* value */
            ifnonnull 2
         1: .line 76
            aconst_null
            areturn
         2: .line 78
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            instanceof java.lang.Object[]
            ifeq 4
         3: .line 79
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.consumer.ObjectFactory.valueDescriptors:Ljava/util/List;
            lload 1 /* id */
            aload 3 /* value */
            checkcast java.lang.Object[]
            invokevirtual jdk.jfr.consumer.ObjectFactory.createTyped:(Ljava/util/List;J[Ljava/lang/Object;)Ljava/lang/Object;
            areturn
         4: .line 81
      StackMap locals:
      StackMap stack:
            new java.lang.InternalError
            dup
            ldc "Object factory must have struct type"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.Object value
        end local 1 // long id
        end local 0 // jdk.jfr.consumer.ObjectFactory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/jfr/consumer/ObjectFactory<TT;>;
            0    5     1     id  J
            0    5     3  value  Ljava/lang/Object;
    Signature: (JLjava/lang/Object;)TT;
    MethodParameters:
       Name  Flags
      id     
      value  

  abstract T createTyped(java.util.List<jdk.jfr.ValueDescriptor>, long, []);
    descriptor: (Ljava/util/List;J[Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0400) ACC_ABSTRACT
    Signature: (Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;J[Ljava/lang/Object;)TT;
    MethodParameters:
                  Name  Flags
      valueDescriptors  
      id                
      values            
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ObjectFactory.java"