class com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor
super_class: java.lang.Object
{
private final java.lang.reflect.Method RECORD_GET_RECORD_COMPONENTS;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Method RECORD_COMPONENT_GET_NAME;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Method RECORD_COMPONENT_GET_TYPE;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor INSTANCE;
descriptor: Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.RuntimeException PROBLEM;
descriptor: Ljava/lang/RuntimeException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: aconst_null
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: new com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor
dup
invokespecial com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.<init>:()V
astore 1
3: goto 6
StackMap locals: java.lang.RuntimeException com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor
StackMap stack: java.lang.RuntimeException
4: astore 2
start local 2 5: aload 2
astore 0
end local 2 6: StackMap locals:
StackMap stack:
aload 1
putstatic com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.INSTANCE:Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
7: aload 0
putstatic com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.PROBLEM:Ljava/lang/RuntimeException;
end local 1 end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
1 8 0 prob Ljava/lang/RuntimeException;
2 8 1 inst Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
5 6 2 e Ljava/lang/RuntimeException;
Exception table:
from to target type
2 3 4 Class java.lang.RuntimeException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc Ljava/lang/Class;
ldc "getRecordComponents"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.RECORD_GET_RECORD_COMPONENTS:Ljava/lang/reflect/Method;
2: ldc "java.lang.reflect.RecordComponent"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 3: aload 0
aload 1
ldc "getName"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.RECORD_COMPONENT_GET_NAME:Ljava/lang/reflect/Method;
4: aload 0
aload 1
ldc "getType"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.RECORD_COMPONENT_GET_TYPE:Ljava/lang/reflect/Method;
end local 1 5: goto 13
StackMap locals: com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor
StackMap stack: java.lang.Exception
6: astore 1
start local 1 7: new java.lang.RuntimeException
dup
8: ldc "Failed to access Methods needed to support `java.lang.Record`: (%s) %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
9: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: aload 1
12: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
3 5 1 c Ljava/lang/Class<*>;
7 13 1 e Ljava/lang/Exception;
Exception table:
from to target type
1 5 6 Class java.lang.Exception
Exceptions:
throws java.lang.RuntimeException
public static com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor instance();
descriptor: ()Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.PROBLEM:Ljava/lang/RuntimeException;
ifnull 2
1: getstatic com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.PROBLEM:Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
getstatic com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.INSTANCE:Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String[] getRecordFieldNames(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.recordComponents:(Ljava/lang/Class;)[Ljava/lang/Object;
astore 2
start local 2 1: aload 2
arraylength
anewarray java.lang.String
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 14
4: StackMap locals: java.lang.Object[] java.lang.String[] int
StackMap stack:
aload 3
iload 4
aload 0
getfield com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.RECORD_COMPONENT_GET_NAME:Ljava/lang/reflect/Method;
aload 2
iload 4
aaload
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
aastore
5: goto 13
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 5
start local 5 7: new java.lang.IllegalArgumentException
dup
8: ldc "Failed to access name of field #%d (of %d) of Record type %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
invokestatic com.fasterxml.jackson.databind.util.ClassUtil.nameOf:(Ljava/lang/Class;)Ljava/lang/String;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: aload 5
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 13: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
aload 2
arraylength
if_icmplt 4
end local 4 15: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
0 16 1 recordType Ljava/lang/Class<*>;
1 16 2 components [Ljava/lang/Object;
2 16 3 names [Ljava/lang/String;
3 15 4 i I
7 13 5 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/String;
MethodParameters:
Name Flags
recordType
public com.fasterxml.jackson.databind.jdk14.JDK14Util$RawTypeName[] getRecordFields(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RawTypeName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.recordComponents:(Ljava/lang/Class;)[Ljava/lang/Object;
astore 2
start local 2 1: aload 2
arraylength
anewarray com.fasterxml.jackson.databind.jdk14.JDK14Util$RawTypeName
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 24
4: StackMap locals: java.lang.Object[] com.fasterxml.jackson.databind.jdk14.JDK14Util$RawTypeName[] int
StackMap stack:
aload 0
getfield com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.RECORD_COMPONENT_GET_NAME:Ljava/lang/reflect/Method;
aload 2
iload 4
aaload
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: goto 13
end local 5 StackMap locals:
StackMap stack: java.lang.Exception
6: astore 6
start local 6 7: new java.lang.IllegalArgumentException
dup
8: ldc "Failed to access name of field #%d (of %d) of Record type %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
invokestatic com.fasterxml.jackson.databind.util.ClassUtil.nameOf:(Ljava/lang/Class;)Ljava/lang/String;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: aload 6
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 start local 5 13: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.RECORD_COMPONENT_GET_TYPE:Ljava/lang/reflect/Method;
aload 2
iload 4
aaload
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 6
start local 6 14: goto 22
end local 6 StackMap locals:
StackMap stack: java.lang.Exception
15: astore 7
start local 7 16: new java.lang.IllegalArgumentException
dup
17: ldc "Failed to access type of field #%d (of %d) of Record type %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
18: iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
invokestatic com.fasterxml.jackson.databind.util.ClassUtil.nameOf:(Ljava/lang/Class;)Ljava/lang/String;
aastore
19: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
20: aload 7
21: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 start local 6 22: StackMap locals: java.lang.Class
StackMap stack:
aload 3
iload 4
new com.fasterxml.jackson.databind.jdk14.JDK14Util$RawTypeName
dup
aload 6
aload 5
invokespecial com.fasterxml.jackson.databind.jdk14.JDK14Util$RawTypeName.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
aastore
end local 6 end local 5 23: iinc 4 1
StackMap locals:
StackMap stack:
24: iload 4
aload 2
arraylength
if_icmplt 4
end local 4 25: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
0 26 1 recordType Ljava/lang/Class<*>;
1 26 2 components [Ljava/lang/Object;
2 26 3 results [Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RawTypeName;
3 25 4 i I
5 6 5 name Ljava/lang/String;
13 23 5 name Ljava/lang/String;
7 13 6 e Ljava/lang/Exception;
14 15 6 type Ljava/lang/Class<*>;
22 23 6 type Ljava/lang/Class<*>;
16 22 7 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
13 14 15 Class java.lang.Exception
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)[Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RawTypeName;
MethodParameters:
Name Flags
recordType
protected [] recordComponents(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor.RECORD_GET_RECORD_COMPONENTS:Ljava/lang/reflect/Method;
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Object[]
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Failed to access RecordComponents of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 1
invokestatic com.fasterxml.jackson.databind.util.ClassUtil.nameOf:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/databind/jdk14/JDK14Util$RecordAccessor;
0 6 1 recordType Ljava/lang/Class<*>;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/Object;
MethodParameters:
Name Flags
recordType
}
SourceFile: "JDK14Util.java"
NestHost: com.fasterxml.jackson.databind.jdk14.JDK14Util
InnerClasses:
RawTypeName = com.fasterxml.jackson.databind.jdk14.JDK14Util$RawTypeName of com.fasterxml.jackson.databind.jdk14.JDK14Util
RecordAccessor = com.fasterxml.jackson.databind.jdk14.JDK14Util$RecordAccessor of com.fasterxml.jackson.databind.jdk14.JDK14Util