final class jdk.dynalink.BiClassValue$BiClassValues<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.dynalink.BiClassValue$BiClassValues
super_class: java.lang.Object
{
private static final java.lang.invoke.VarHandle FORWARD;
descriptor: Ljava/lang/invoke/VarHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.VarHandle REVERSE;
descriptor: Ljava/lang/invoke/VarHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.util.Map<java.lang.Class<?>, T> forward;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Class<*>;TT;>;
private java.util.Map<java.lang.Class<?>, T> reverse;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Class<*>;TT;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
astore 0
start local 0 1: aload 0
ldc Ljdk/dynalink/BiClassValue$BiClassValues;
ldc "forward"
ldc Ljava/util/Map;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
putstatic jdk.dynalink.BiClassValue$BiClassValues.FORWARD:Ljava/lang/invoke/VarHandle;
2: aload 0
ldc Ljdk/dynalink/BiClassValue$BiClassValues;
ldc "reverse"
ldc Ljava/util/Map;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
putstatic jdk.dynalink.BiClassValue$BiClassValues.REVERSE:Ljava/lang/invoke/VarHandle;
3: goto 6
StackMap locals: java.lang.invoke.MethodHandles$Lookup
StackMap stack: java.lang.ReflectiveOperationException
4: astore 1
start local 1 5: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 6: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 6 0 lookup Ljava/lang/invoke/MethodHandles$Lookup;
5 6 1 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
1 3 4 Class java.lang.NoSuchFieldException
1 3 4 Class java.lang.IllegalAccessException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Map.of:()Ljava/util/Map;
putfield jdk.dynalink.BiClassValue$BiClassValues.forward:Ljava/util/Map;
2: aload 0
invokestatic java.util.Map.of:()Ljava/util/Map;
putfield jdk.dynalink.BiClassValue$BiClassValues.reverse:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/dynalink/BiClassValue$BiClassValues<TT;>;
T getForwardValue(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.dynalink.BiClassValue$BiClassValues.forward:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/BiClassValue$BiClassValues<TT;>;
0 1 1 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)TT;
MethodParameters:
Name Flags
c final
T getReverseValue(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.dynalink.BiClassValue$BiClassValues.reverse:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/BiClassValue$BiClassValues<TT;>;
0 1 1 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)TT;
MethodParameters:
Name Flags
c final
private T compute(java.lang.invoke.VarHandle, java.lang.Class<?>, java.util.function.Function<java.lang.Class<?>, T>);
descriptor: (Ljava/lang/invoke/VarHandle;Ljava/lang/Class;Ljava/util/function/Function;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
invokevirtual java.lang.invoke.VarHandle.getVolatile:(Ljdk/dynalink/BiClassValue$BiClassValues;)Ljava/util/Map;
astore 4
start local 4 1: aconst_null
astore 6
start local 6 2: goto 15
start local 5 3: StackMap locals: java.util.Map java.lang.Object java.lang.Object
StackMap stack:
aload 6
ifnonnull 7
4: aload 3
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
5: aload 6
ifnonnull 7
6: goto 17
7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
aload 4
invokeinterface java.util.Map.size:()I
iconst_1
iadd
anewarray java.util.Map$Entry
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.util.Map$Entry[]
astore 7
start local 7 8: aload 7
aload 4
invokeinterface java.util.Map.size:()I
aload 2
aload 6
invokestatic java.util.Map.entry:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;
aastore
9: aload 7
invokestatic java.util.Map.ofEntries:([Ljava/util/Map$Entry;)Ljava/util/Map;
astore 8
start local 8 10: aload 1
aload 0
aload 4
aload 8
invokevirtual java.lang.invoke.VarHandle.compareAndExchange:(Ljdk/dynalink/BiClassValue$BiClassValues;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
astore 9
start local 9 11: aload 9
aload 4
if_acmpne 14
12: aload 6
astore 5
13: goto 17
14: StackMap locals: java.util.Map$Entry[] java.util.Map java.util.Map
StackMap stack:
aload 9
astore 4
end local 9 end local 8 end local 7 end local 5 15: StackMap locals: jdk.dynalink.BiClassValue$BiClassValues java.lang.invoke.VarHandle java.lang.Class java.util.function.Function java.util.Map top java.lang.Object
StackMap stack:
aload 4
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 5
start local 5 16: ifnull 3
17: StackMap locals: jdk.dynalink.BiClassValue$BiClassValues java.lang.invoke.VarHandle java.lang.Class java.util.function.Function java.util.Map java.lang.Object java.lang.Object
StackMap stack:
aload 5
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/dynalink/BiClassValue$BiClassValues<TT;>;
0 18 1 mapHandle Ljava/lang/invoke/VarHandle;
0 18 2 c Ljava/lang/Class<*>;
0 18 3 compute Ljava/util/function/Function<Ljava/lang/Class<*>;TT;>;
1 18 4 map Ljava/util/Map<Ljava/lang/Class<*>;TT;>;
3 15 5 value TT;
16 18 5 value TT;
2 18 6 newValue TT;
8 15 7 entries [Ljava/util/Map$Entry;
10 15 8 newMap Ljava/util/Map<Ljava/lang/Class<*>;TT;>;
11 15 9 witness Ljava/util/Map<Ljava/lang/Class<*>;TT;>;
Signature: (Ljava/lang/invoke/VarHandle;Ljava/lang/Class<*>;Ljava/util/function/Function<Ljava/lang/Class<*>;TT;>;)TT;
MethodParameters:
Name Flags
mapHandle final
c final
compute final
T computeForward(java.lang.Class<?>, java.util.function.Function<java.lang.Class<?>, T>);
descriptor: (Ljava/lang/Class;Ljava/util/function/Function;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic jdk.dynalink.BiClassValue$BiClassValues.FORWARD:Ljava/lang/invoke/VarHandle;
aload 1
aload 2
invokevirtual jdk.dynalink.BiClassValue$BiClassValues.compute:(Ljava/lang/invoke/VarHandle;Ljava/lang/Class;Ljava/util/function/Function;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/BiClassValue$BiClassValues<TT;>;
0 1 1 c Ljava/lang/Class<*>;
0 1 2 compute Ljava/util/function/Function<Ljava/lang/Class<*>;TT;>;
Signature: (Ljava/lang/Class<*>;Ljava/util/function/Function<Ljava/lang/Class<*>;TT;>;)TT;
MethodParameters:
Name Flags
c final
compute
T computeReverse(java.lang.Class<?>, java.util.function.Function<java.lang.Class<?>, T>);
descriptor: (Ljava/lang/Class;Ljava/util/function/Function;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic jdk.dynalink.BiClassValue$BiClassValues.REVERSE:Ljava/lang/invoke/VarHandle;
aload 1
aload 2
invokevirtual jdk.dynalink.BiClassValue$BiClassValues.compute:(Ljava/lang/invoke/VarHandle;Ljava/lang/Class;Ljava/util/function/Function;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/BiClassValue$BiClassValues<TT;>;
0 1 1 c Ljava/lang/Class<*>;
0 1 2 compute Ljava/util/function/Function<Ljava/lang/Class<*>;TT;>;
Signature: (Ljava/lang/Class<*>;Ljava/util/function/Function<Ljava/lang/Class<*>;TT;>;)TT;
MethodParameters:
Name Flags
c final
compute
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "BiClassValue.java"
NestHost: jdk.dynalink.BiClassValue
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
private final BiClassValues = jdk.dynalink.BiClassValue$BiClassValues of jdk.dynalink.BiClassValue