public final class java.lang.invoke.MethodHandles$Lookup
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.lang.invoke.MethodHandles$Lookup
super_class: java.lang.Object
{
private final java.lang.Class<?> lookupClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final java.lang.Class<?> prevLookupClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final int allowedModes;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final int PUBLIC;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PRIVATE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PROTECTED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int PACKAGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int MODULE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int UNCONDITIONAL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final int ORIGINAL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int ALL_MODES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 127
private static final int FULL_POWER_MODES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 95
private static final int TRUSTED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private volatile java.security.ProtectionDomain cachedProtectionDomain;
descriptor: Ljava/security/ProtectionDomain;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final java.lang.invoke.MethodHandles$Lookup IMPL_LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.invoke.MethodHandles$Lookup PUBLIC_LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static java.util.concurrent.ConcurrentHashMap<java.lang.invoke.MemberName, java.lang.invoke.DirectMethodHandle> LOOKASIDE_TABLE;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0008) ACC_STATIC
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/invoke/MemberName;Ljava/lang/invoke/DirectMethodHandle;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Ljava/lang/invoke/MethodHandles;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
3: ldc Ljava/lang/invoke/MethodHandles$Lookup;
ldc "lookupClass"
ldc "allowedModes"
invokestatic java.util.Set.of:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
invokestatic jdk.internal.reflect.Reflection.registerFieldsToFilter:(Ljava/lang/Class;Ljava/util/Set;)V
4: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
5: new java.lang.invoke.MethodHandles$Lookup
dup
ldc Ljava/lang/Object;
aconst_null
iconst_m1
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;Ljava/lang/Class;I)V
putstatic java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
6: new java.lang.invoke.MethodHandles$Lookup
dup
ldc Ljava/lang/Object;
aconst_null
bipush 32
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;Ljava/lang/Class;I)V
putstatic java.lang.invoke.MethodHandles$Lookup.PUBLIC_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
7: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic java.lang.invoke.MethodHandles$Lookup.LOOKASIDE_TABLE:Ljava/util/concurrent/ConcurrentHashMap;
return
LocalVariableTable:
Start End Slot Name Signature
private static int fixmods(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 7
iand
istore 0
1: iload 0
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 3
2: iload 0
bipush 32
ior
istore 0
3: StackMap locals:
StackMap stack:
iload 0
ifeq 4
iload 0
goto 5
StackMap locals:
StackMap stack:
4: bipush 8
StackMap locals:
StackMap stack: int
5: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 mods I
MethodParameters:
Name Flags
mods
public java.lang.Class<?> lookupClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
Signature: ()Ljava/lang/Class<*>;
public java.lang.Class<?> previousLookupClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
Signature: ()Ljava/lang/Class<*>;
private java.lang.Class<?> lookupClassOrNull();
descriptor: ()Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
StackMap locals:
StackMap stack: java.lang.Class
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
Signature: ()Ljava/lang/Class<*>;
public int lookupModes();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
bipush 127
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
bipush 95
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;Ljava/lang/Class;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 lookupClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
lookupClass
private void <init>(java.lang.Class<?>, java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Class;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 4
aload 2
ifnull 4
iload 3
bipush 16
iand
ifne 3
2: aload 2
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
if_acmpne 4
StackMap locals: java.lang.invoke.MethodHandles$Lookup java.lang.Class java.lang.Class int
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 6
aload 1
invokevirtual java.lang.Class.isArray:()Z
ifne 5
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 6
StackMap locals:
StackMap stack:
5: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
7: aload 0
aload 2
putfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
8: aload 0
iload 3
putfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 10 1 lookupClass Ljava/lang/Class<*>;
0 10 2 prevLookupClass Ljava/lang/Class<*>;
0 10 3 allowedModes I
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;I)V
MethodParameters:
Name Flags
lookupClass
prevLookupClass
allowedModes
private static java.lang.invoke.MethodHandles$Lookup newLookup(java.lang.Class<?>, java.lang.Class<?>, int);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;I)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.lang.invoke.MethodHandles$Lookup.checkUnprivilegedlookupClass:(Ljava/lang/Class;)V
1: new java.lang.invoke.MethodHandles$Lookup
dup
aload 0
aload 1
iload 2
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;Ljava/lang/Class;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 lookupClass Ljava/lang/Class<*>;
0 2 1 prevLookupClass Ljava/lang/Class<*>;
0 2 2 allowedModes I
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;I)Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
lookupClass
prevLookupClass
allowedModes
public java.lang.invoke.MethodHandles$Lookup in(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is a primitive class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is an array class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 7
6: new java.lang.invoke.MethodHandles$Lookup
dup
aload 1
aconst_null
bipush 95
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;Ljava/lang/Class;I)V
areturn
7: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
if_acmpne 9
8: aload 0
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
bipush 95
iand
bipush -65
iand
istore 2
start local 2 10: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 3
start local 3 11: aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 4
start local 4 12: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.previousLookupClass:()Ljava/lang/Class;
astore 5
start local 5 13: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
bipush 32
iand
ifeq 17
14: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 15
aload 5
ifnull 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals: java.lang.invoke.MethodHandles$Lookup java.lang.Class int java.lang.Module java.lang.Module java.lang.Class
StackMap stack:
bipush 32
istore 2
16: goto 22
StackMap locals:
StackMap stack:
17: aload 3
aload 4
if_acmpeq 22
18: aload 5
ifnull 20
aload 5
aload 1
invokestatic sun.invoke.util.VerifyAccess.isSameModule:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 20
19: iconst_0
istore 2
20: StackMap locals:
StackMap stack:
iload 2
bipush -31
iand
istore 2
21: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
astore 5
22: StackMap locals:
StackMap stack:
iload 2
bipush 8
iand
ifeq 25
23: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.isSamePackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 25
24: iload 2
bipush -15
iand
istore 2
25: StackMap locals:
StackMap stack:
iload 2
iconst_2
iand
ifeq 28
26: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.isSamePackageMember:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 28
27: iload 2
bipush -7
iand
istore 2
28: StackMap locals:
StackMap stack:
iload 2
bipush 33
iand
ifeq 31
29: aload 1
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
ifne 31
30: iconst_0
istore 2
31: StackMap locals:
StackMap stack:
aload 1
aload 5
iload 2
invokestatic java.lang.invoke.MethodHandles$Lookup.newLookup:(Ljava/lang/Class;Ljava/lang/Class;I)Ljava/lang/invoke/MethodHandles$Lookup;
areturn
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 32 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 32 1 requestedLookupClass Ljava/lang/Class<*>;
10 32 2 newModes I
11 32 3 fromModule Ljava/lang/Module;
12 32 4 targetModule Ljava/lang/Module;
13 32 5 plc Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
requestedLookupClass
public java.lang.invoke.MethodHandles$Lookup dropLookupMode(int);
descriptor: (I)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
istore 2
start local 2 1: iload 2
iload 1
iconst_4
ior
bipush 64
ior
iconst_m1
ixor
iand
istore 3
start local 3 2: iload 1
lookupswitch { // 7
1: 3
2: 6
4: 6
8: 5
16: 4
32: 6
64: 6
default: 7
}
3: StackMap locals: int int
StackMap stack:
iload 3
bipush -96
iand
istore 3
goto 8
4: StackMap locals:
StackMap stack:
iload 3
bipush -11
iand
istore 3
goto 8
5: StackMap locals:
StackMap stack:
iload 3
bipush -3
iand
istore 3
goto 8
6: StackMap locals:
StackMap stack:
goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not a valid mode to drop"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpne 9
aload 0
areturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.previousLookupClass:()Ljava/lang/Class;
iload 3
invokestatic java.lang.invoke.MethodHandles$Lookup.newLookup:(Ljava/lang/Class;Ljava/lang/Class;I)Ljava/lang/invoke/MethodHandles$Lookup;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 10 1 modeToDrop I
1 10 2 oldModes I
2 10 3 newModes I
MethodParameters:
Name Flags
modeToDrop
public java.lang.Class<?> defineClass(byte[]);
descriptor: ([B)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.ensureDefineClassPermission:()V
1: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
bipush 8
iand
ifne 3
2: new java.lang.IllegalAccessException
dup
ldc "Lookup does not have PACKAGE access"
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeClassDefiner:([B)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass:(Z)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 4 1 bytes [B
Exceptions:
throws java.lang.IllegalAccessException
Signature: ([B)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
bytes
private void ensureDefineClassPermission();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 1
return
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasFullPrivilegeAccess:()Z
ifne 5
2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
new java.lang.RuntimePermission
dup
ldc "defineClass"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
3 5 1 sm Ljava/lang/SecurityManager;
public java.lang.invoke.MethodHandles$Lookup defineHiddenClass(byte[], boolean, java.lang.invoke.MethodHandles$Lookup$ClassOption[]);
descriptor: ([BZ[Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.ensureDefineClassPermission:()V
3: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasFullPrivilegeAccess:()Z
ifne 5
4: new java.lang.IllegalAccessException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " does not have full privilege access"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
aload 3
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeHiddenClassDefiner:([BLjava/util/Set;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
iload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClassAsLookup:(Z)Ljava/lang/invoke/MethodHandles$Lookup;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 6 1 bytes [B
0 6 2 initialize Z
0 6 3 options [Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
bytes
initialize
options
public java.lang.invoke.MethodHandles$Lookup defineHiddenClassWithClassData(byte[], java.lang.Object, boolean, java.lang.invoke.MethodHandles$Lookup$ClassOption[]);
descriptor: ([BLjava/lang/Object;Z[Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 4
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.ensureDefineClassPermission:()V
4: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasFullPrivilegeAccess:()Z
ifne 6
5: new java.lang.IllegalAccessException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " does not have full privilege access"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
aload 4
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeHiddenClassDefiner:([BLjava/util/Set;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
7: iload 3
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClassAsLookup:(ZLjava/lang/Object;)Ljava/lang/invoke/MethodHandles$Lookup;
8: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 9 1 bytes [B
0 9 2 classData Ljava/lang/Object;
0 9 3 initialize Z
0 9 4 options [Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
bytes
classData
initialize
options
private java.lang.invoke.MethodHandles$Lookup$ClassDefiner makeClassDefiner(byte[]);
descriptor: ([B)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokestatic java.lang.invoke.MethodHandles$Lookup$ClassFile.newInstance:([BLjava/lang/String;)Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
astore 2
start local 2 1: new java.lang.invoke.MethodHandles$Lookup$ClassDefiner
dup
aload 0
aload 2
iconst_4
invokespecial java.lang.invoke.MethodHandles$Lookup$ClassDefiner.<init>:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 bytes [B
1 2 2 cf Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
MethodParameters:
Name Flags
bytes
java.lang.invoke.MethodHandles$Lookup$ClassDefiner makeHiddenClassDefiner(byte[]);
descriptor: ([B)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokestatic java.lang.invoke.MethodHandles$Lookup$ClassFile.newInstance:([BLjava/lang/String;)Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
astore 2
start local 2 1: aload 0
aload 2
invokestatic java.util.Set.of:()Ljava/util/Set;
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeHiddenClassDefiner:(Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;Ljava/util/Set;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 bytes [B
1 2 2 cf Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
MethodParameters:
Name Flags
bytes
java.lang.invoke.MethodHandles$Lookup$ClassDefiner makeHiddenClassDefiner(byte[], java.util.Set<java.lang.invoke.MethodHandles$Lookup$ClassOption>, boolean);
descriptor: ([BLjava/util/Set;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokestatic java.lang.invoke.MethodHandles$Lookup$ClassFile.newInstance:([BLjava/lang/String;)Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
astore 4
start local 4 1: aload 0
aload 4
aload 2
iload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeHiddenClassDefiner:(Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;Ljava/util/Set;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 bytes [B
0 2 2 options Ljava/util/Set<Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;>;
0 2 3 accessVmAnnotations Z
1 2 4 cf Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
Signature: ([BLjava/util/Set<Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;>;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
MethodParameters:
Name Flags
bytes
options
accessVmAnnotations
java.lang.invoke.MethodHandles$Lookup$ClassDefiner makeHiddenClassDefiner(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.lang.invoke.MethodHandles$Lookup$ClassFile.newInstanceNoCheck:(Ljava/lang/String;[B)Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
invokestatic java.util.Set.of:()Ljava/util/Set;
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeHiddenClassDefiner:(Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;Ljava/util/Set;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 name Ljava/lang/String;
0 1 2 bytes [B
MethodParameters:
Name Flags
name
bytes
private java.lang.invoke.MethodHandles$Lookup$ClassDefiner makeHiddenClassDefiner(java.lang.invoke.MethodHandles$Lookup$ClassFile, java.util.Set<java.lang.invoke.MethodHandles$Lookup$ClassOption>, boolean);
descriptor: (Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;Ljava/util/Set;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_2
aload 2
invokestatic java.lang.invoke.MethodHandles$Lookup$ClassOption.optionsToFlag:(Ljava/util/Set;)I
ior
istore 4
start local 4 1: iload 3
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic jdk.internal.misc.VM.isSystemDomainLoader:(Ljava/lang/ClassLoader;)Z
ior
ifeq 3
2: iload 4
bipush 8
ior
istore 4
3: StackMap locals: int
StackMap stack:
new java.lang.invoke.MethodHandles$Lookup$ClassDefiner
dup
aload 0
aload 1
iload 4
invokespecial java.lang.invoke.MethodHandles$Lookup$ClassDefiner.<init>:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;I)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 4 1 cf Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;
0 4 2 options Ljava/util/Set<Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;>;
0 4 3 accessVmAnnotations Z
1 4 4 flags I
Signature: (Ljava/lang/invoke/MethodHandles$Lookup$ClassFile;Ljava/util/Set<Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;>;Z)Ljava/lang/invoke/MethodHandles$Lookup$ClassDefiner;
MethodParameters:
Name Flags
cf
options
accessVmAnnotations
private java.security.ProtectionDomain lookupClassProtectionDomain();
descriptor: ()Ljava/security/ProtectionDomain;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.cachedProtectionDomain:Ljava/security/ProtectionDomain;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokestatic jdk.internal.access.SharedSecrets.getJavaLangAccess:()Ljdk/internal/access/JavaLangAccess;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokeinterface jdk.internal.access.JavaLangAccess.protectionDomain:(Ljava/lang/Class;)Ljava/security/ProtectionDomain;
dup
astore 1
putfield java.lang.invoke.MethodHandles$Lookup.cachedProtectionDomain:Ljava/security/ProtectionDomain;
3: StackMap locals: java.security.ProtectionDomain
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
1 4 1 pd Ljava/security/ProtectionDomain;
private static void checkUnprivilegedlookupClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "java.lang.invoke."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
2: new java.lang.StringBuilder
dup
ldc "illegal lookupClass: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
3: StackMap locals: java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 lookupClass Ljava/lang/Class<*>;
1 4 1 name Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
lookupClass
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
ifnull 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
lookupswitch { // 12
-1: 11
0: 4
1: 6
9: 8
11: 9
15: 10
17: 7
25: 8
27: 9
31: 10
32: 5
95: 10
default: 12
}
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/noaccess"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/publicLookup"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/public"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/module"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/package"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/private"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 1
areturn
11: StackMap locals:
StackMap stack:
ldc "/trusted"
areturn
12: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
13: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 14
new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/lang/invoke/MethodHandles$Lookup;
1 15 1 cname Ljava/lang/String;
public java.lang.invoke.MethodHandle findStatic(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
bipush 6
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 1: aload 0
bipush 6
aload 1
aload 4
aload 0
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 refc Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
0 2 3 type Ljava/lang/invoke/MethodType;
1 2 4 method Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
name
type
public java.lang.invoke.MethodHandle findVirtual(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc Ljava/lang/invoke/MethodHandle;
if_acmpne 3
1: aload 0
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtualForMH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 4
start local 4 2: aload 4
ifnull 6
aload 4
areturn
end local 4 3: StackMap locals:
StackMap stack:
aload 1
ldc Ljava/lang/invoke/VarHandle;
if_acmpne 6
4: aload 0
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtualForVH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 4
start local 4 5: aload 4
ifnull 6
aload 4
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 7
bipush 9
goto 8
StackMap locals:
StackMap stack:
7: iconst_5
StackMap locals:
StackMap stack: int
8: istore 4
start local 4 9: aload 0
iload 4
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
astore 5
start local 5 10: aload 0
iload 4
aload 1
aload 5
aload 0
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
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 11 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 11 1 refc Ljava/lang/Class<*>;
0 11 2 name Ljava/lang/String;
0 11 3 type Ljava/lang/invoke/MethodType;
2 3 4 mh Ljava/lang/invoke/MethodHandle;
5 6 4 mh Ljava/lang/invoke/MethodHandle;
9 11 4 refKind B
10 11 5 method Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
name
type
private java.lang.invoke.MethodHandle findVirtualForMH(java.lang.String, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "invoke"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 2
invokestatic java.lang.invoke.MethodHandles.invoker:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
2: StackMap locals:
StackMap stack:
ldc "invokeExact"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
invokestatic java.lang.invoke.MethodHandles.exactInvoker:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
4: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 5
aload 1
invokestatic java.lang.invoke.MemberName.isMethodHandleInvokeName:(Ljava/lang/String;)Z
ifeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 6 1 name Ljava/lang/String;
0 6 2 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
name
type
private java.lang.invoke.MethodHandle findVirtualForVH(java.lang.String, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.lang.invoke.VarHandle$AccessMode.valueFromMethodName:(Ljava/lang/String;)Ljava/lang/invoke/VarHandle$AccessMode;
aload 2
invokestatic java.lang.invoke.MethodHandles.varHandleInvoker:(Ljava/lang/invoke/VarHandle$AccessMode;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
3: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 4 1 name Ljava/lang/String;
0 4 2 type Ljava/lang/invoke/MethodType;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
type
public java.lang.invoke.MethodHandle findConstructor(java.lang.Class<?>, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 2
1: new java.lang.NoSuchMethodException
dup
new java.lang.StringBuilder
dup
ldc "no constructor for array class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc "<init>"
astore 3
start local 3 3: aload 0
bipush 8
aload 1
aload 3
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 4: aload 0
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectConstructor:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 5 1 refc Ljava/lang/Class<*>;
0 5 2 type Ljava/lang/invoke/MethodType;
3 5 3 name Ljava/lang/String;
4 5 4 ctor Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
type
public java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.accessClass:(Ljava/lang/Class;)Ljava/lang/Class;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 targetName Ljava/lang/String;
1 2 2 targetClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
targetName
public java.lang.Class<?> ensureInitialized(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is a primitive class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is an array class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
ifne 6
5: aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeAccessException:(Ljava/lang/Class;)Ljava/lang/IllegalAccessException;
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;)V
7: invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
aload 1
invokevirtual jdk.internal.misc.Unsafe.ensureClassInitialized:(Ljava/lang/Class;)V
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 9 1 targetClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
targetClass
private java.lang.IllegalAccessException makeAccessException(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/IllegalAccessException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "access violation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
if_acmpne 4
2: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", from public Lookup"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
3: goto 10
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 3
start local 3 5: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
6: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
ifnull 10
7: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", previous lookup "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 3 10: StackMap locals:
StackMap stack:
new java.lang.IllegalAccessException
dup
aload 2
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 11 1 targetClass Ljava/lang/Class<*>;
1 11 2 message Ljava/lang/String;
5 10 3 m Ljava/lang/Module;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/IllegalAccessException;
MethodParameters:
Name Flags
targetClass
public java.lang.Class<?> accessClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
ifne 2
1: aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.makeAccessException:(Ljava/lang/Class;)Ljava/lang/IllegalAccessException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 4 1 targetClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
targetClass
public java.lang.invoke.MethodHandle findSpecial(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSpecialCaller:(Ljava/lang/Class;Ljava/lang/Class;)V
1: aload 0
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.in:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;
astore 5
start local 5 2: aload 5
bipush 7
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
astore 6
start local 6 3: aload 5
bipush 7
aload 1
aload 6
aload 0
aload 6
invokevirtual java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
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 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 4 1 refc Ljava/lang/Class<*>;
0 4 2 name Ljava/lang/String;
0 4 3 type Ljava/lang/invoke/MethodType;
0 4 4 specialCaller Ljava/lang/Class<*>;
2 4 5 specialLookup Ljava/lang/invoke/MethodHandles$Lookup;
3 4 6 method Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
name
type
specialCaller
public java.lang.invoke.MethodHandle findGetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_1
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 1: aload 0
iconst_1
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 refc Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
0 2 3 type Ljava/lang/Class<*>;
1 2 4 field Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
name
type
public java.lang.invoke.MethodHandle findSetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_3
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 1: aload 0
iconst_3
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 refc Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
0 2 3 type Ljava/lang/Class<*>;
1 2 4 field Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
name
type
public java.lang.invoke.VarHandle findVarHandle(java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_1
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 1: aload 0
iconst_3
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 5
start local 5 2: aload 0
iconst_1
iconst_3
aload 1
aload 4
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.getFieldVarHandle:(BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/VarHandle;
areturn
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 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 recv Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 type Ljava/lang/Class<*>;
1 3 4 getField Ljava/lang/invoke/MemberName;
2 3 5 putField Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
recv
name
type
public java.lang.invoke.MethodHandle findStaticGetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_2
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 1: aload 0
iconst_2
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 refc Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
0 2 3 type Ljava/lang/Class<*>;
1 2 4 field Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
name
type
public java.lang.invoke.MethodHandle findStaticSetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_4
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 1: aload 0
iconst_4
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 2 1 refc Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
0 2 3 type Ljava/lang/Class<*>;
1 2 4 field Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
name
type
public java.lang.invoke.VarHandle findStaticVarHandle(java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_2
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 4
start local 4 1: aload 0
iconst_4
aload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
astore 5
start local 5 2: aload 0
iconst_2
iconst_4
aload 1
aload 4
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.getFieldVarHandle:(BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/VarHandle;
areturn
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 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 decl Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 type Ljava/lang/Class<*>;
1 3 4 getField Ljava/lang/invoke/MemberName;
2 3 5 putField Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
decl
name
type
public java.lang.invoke.MethodHandle bind(java.lang.Object, java.lang.String, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 4
start local 4 1: aload 0
bipush 7
aload 4
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
astore 5
start local 5 2: aload 0
aload 4
aload 5
aload 0
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoRestrictInvokeSpecial:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
astore 6
start local 6 3: aload 6
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.leadingReferenceParameter:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
4: new java.lang.IllegalAccessException
dup
new java.lang.StringBuilder
dup
ldc "The restricted defining class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 6
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.leadingReferenceParameter:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc " is not assignable from receiver class "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.lang.Class java.lang.invoke.MemberName java.lang.invoke.MethodHandle
StackMap stack:
aload 6
iconst_0
aload 1
invokevirtual java.lang.invoke.MethodHandle.bindArgumentL:(ILjava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;
aload 5
invokevirtual java.lang.invoke.BoundMethodHandle.setVarargs:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
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 10 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 10 1 receiver Ljava/lang/Object;
0 10 2 name Ljava/lang/String;
0 10 3 type Ljava/lang/invoke/MethodType;
1 10 4 refc Ljava/lang/Class<+Ljava/lang/Object;>;
2 10 5 method Ljava/lang/invoke/MemberName;
3 10 6 mh Ljava/lang/invoke/MethodHandle;
Exceptions:
throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
MethodParameters:
Name Flags
receiver
name
type
public java.lang.invoke.MethodHandle unreflect(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
ldc Ljava/lang/invoke/MethodHandle;
if_acmpne 3
1: aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.unreflectForMH:(Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
ldc Ljava/lang/invoke/VarHandle;
if_acmpne 6
4: aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.unreflectForVH:(Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
astore 2
start local 2 5: aload 2
ifnull 6
aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Method;)V
astore 2
start local 2 7: aload 2
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
istore 3
start local 3 8: iload 3
bipush 7
if_icmpne 10
9: iconst_5
istore 3
10: StackMap locals: java.lang.invoke.MemberName int
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 11
aload 2
invokevirtual java.lang.invoke.MemberName.isMethod:()Z
ifne 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Method.isAccessible:()Z
ifeq 12
getstatic java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
goto 13
StackMap locals:
StackMap stack:
12: aload 0
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandles$Lookup
13: astore 4
start local 4 14: aload 4
iload 3
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 2
aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 15 1 m Ljava/lang/reflect/Method;
2 3 2 mh Ljava/lang/invoke/MethodHandle;
5 6 2 mh Ljava/lang/invoke/MethodHandle;
7 15 2 method Ljava/lang/invoke/MemberName;
8 15 3 refKind B
14 15 4 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
m
private java.lang.invoke.MethodHandle unreflectForMH(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokestatic java.lang.invoke.MemberName.isMethodHandleInvokeName:(Ljava/lang/String;)Z
ifeq 2
1: new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Method;)V
invokestatic java.lang.invoke.MethodHandleImpl.fakeMethodHandleInvoke:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 m Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
m
private java.lang.invoke.MethodHandle unreflectForVH(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokestatic java.lang.invoke.MemberName.isVarHandleMethodInvokeName:(Ljava/lang/String;)Z
ifeq 2
1: new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Method;)V
invokestatic java.lang.invoke.MethodHandleImpl.fakeVarHandleInvoke:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 m Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
m
public java.lang.invoke.MethodHandle unreflectSpecial(java.lang.reflect.Method, java.lang.Class<?>);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSpecialCaller:(Ljava/lang/Class;Ljava/lang/Class;)V
1: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.in:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;
astore 3
start local 3 2: new java.lang.invoke.MemberName
dup
aload 1
iconst_1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Method;Z)V
astore 4
start local 4 3: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 4
aload 4
invokevirtual java.lang.invoke.MemberName.isMethod:()Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: java.lang.invoke.MethodHandles$Lookup java.lang.invoke.MemberName
StackMap stack:
aload 3
bipush 7
aload 4
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 4
aload 0
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 5 1 m Ljava/lang/reflect/Method;
0 5 2 specialCaller Ljava/lang/Class<*>;
2 5 3 specialLookup Ljava/lang/invoke/MethodHandles$Lookup;
3 5 4 method Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/reflect/Method;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
m
specialCaller
public java.lang.invoke.MethodHandle unreflectConstructor(java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/reflect/Constructor;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Constructor;)V
astore 2
start local 2 1: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 2
aload 2
invokevirtual java.lang.invoke.MemberName.isConstructor:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Constructor.isAccessible:()Z
ifeq 3
getstatic java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
goto 4
StackMap locals:
StackMap stack:
3: aload 0
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandles$Lookup
4: astore 3
start local 3 5: aload 3
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectConstructorNoSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 6 1 c Ljava/lang/reflect/Constructor<*>;
1 6 2 ctor Ljava/lang/invoke/MemberName;
5 6 3 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/reflect/Constructor<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
c
public java.lang.invoke.MethodHandle unreflectGetter(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.unreflectField:(Ljava/lang/reflect/Field;Z)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 f Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
f
public java.lang.invoke.MethodHandle unreflectSetter(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual java.lang.invoke.MethodHandles$Lookup.unreflectField:(Ljava/lang/reflect/Field;Z)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 f Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
f
private java.lang.invoke.MethodHandle unreflectField(java.lang.reflect.Field, boolean);
descriptor: (Ljava/lang/reflect/Field;Z)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.invoke.MemberName
dup
aload 1
iload 2
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Field;Z)V
astore 3
start local 3 1: iload 2
ifeq 7
aload 3
invokevirtual java.lang.invoke.MemberName.isFinal:()Z
ifeq 7
2: aload 3
invokevirtual java.lang.invoke.MemberName.isTrustedFinalField:()Z
ifeq 7
3: aload 3
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
ifeq 4
ldc "static final field has no write access"
goto 5
4: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
ldc "final field has no write access"
5: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 6: aload 3
aload 4
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
end local 4 7: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 11
iload 2
ifeq 9
8: aload 3
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsSetter:(B)Z
ifne 11
goto 10
9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsGetter:(B)Z
ifne 11
StackMap locals:
StackMap stack:
10: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Field.isAccessible:()Z
ifeq 12
getstatic java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
goto 13
StackMap locals:
StackMap stack:
12: aload 0
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandles$Lookup
13: astore 4
start local 4 14: aload 4
aload 3
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
aload 1
invokevirtual java.lang.reflect.Field.getDeclaringClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectFieldNoSecurityManager:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 15 1 f Ljava/lang/reflect/Field;
0 15 2 isSetter Z
1 15 3 field Ljava/lang/invoke/MemberName;
6 7 4 msg Ljava/lang/String;
14 15 4 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
f
isSetter
public java.lang.invoke.VarHandle unreflectVarHandle(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)Ljava/lang/invoke/VarHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.invoke.MemberName
dup
aload 1
iconst_0
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Field;Z)V
astore 2
start local 2 1: new java.lang.invoke.MemberName
dup
aload 1
iconst_1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Field;Z)V
astore 3
start local 3 2: aload 0
aload 2
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
aload 3
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
3: aload 1
invokevirtual java.lang.reflect.Field.getDeclaringClass:()Ljava/lang/Class;
aload 2
aload 3
4: invokevirtual java.lang.invoke.MethodHandles$Lookup.getFieldVarHandleNoSecurityManager:(BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/VarHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 5 1 f Ljava/lang/reflect/Field;
1 5 2 getField Ljava/lang/invoke/MemberName;
2 5 3 putField Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
f
public java.lang.invoke.MethodHandleInfo revealDirect(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandleInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.invoke.MethodHandle.isCrackable:()Z
ifne 2
1: ldc "not a direct method handle"
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.invoke.MethodHandle.internalMemberName:()Ljava/lang/invoke/MemberName;
astore 2
start local 2 3: aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
astore 3
start local 3 4: aload 2
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
istore 4
start local 4 5: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 6
iload 4
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsValid:(I)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: java.lang.invoke.MemberName java.lang.Class int
StackMap stack:
iload 4
bipush 7
if_icmpne 8
aload 1
invokevirtual java.lang.invoke.MethodHandle.isInvokeSpecial:()Z
ifne 8
7: iconst_5
istore 4
8: StackMap locals:
StackMap stack:
iload 4
iconst_5
if_icmpne 10
aload 3
invokevirtual java.lang.Class.isInterface:()Z
ifeq 10
9: bipush 9
istore 4
10: StackMap locals:
StackMap stack:
aload 0
iload 4
aload 3
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkAccess:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
11: aload 0
aload 3
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
12: goto 15
StackMap locals:
StackMap stack: java.lang.IllegalAccessException
13: astore 5
start local 5 14: new java.lang.IllegalArgumentException
dup
aload 5
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 15: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpeq 19
aload 2
invokevirtual java.lang.invoke.MemberName.isCallerSensitive:()Z
ifeq 19
16: aload 1
invokevirtual java.lang.invoke.MethodHandle.internalCallerClass:()Ljava/lang/Class;
astore 5
start local 5 17: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
bipush 64
iand
ifeq 18
aload 5
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
if_acmpeq 19
18: StackMap locals: java.lang.Class
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "method handle is caller sensitive: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 19: StackMap locals:
StackMap stack:
new java.lang.invoke.InfoFromMemberName
dup
aload 0
aload 2
iload 4
invokespecial java.lang.invoke.InfoFromMemberName.<init>:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/invoke/MemberName;B)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 20 1 target Ljava/lang/invoke/MethodHandle;
3 20 2 member Ljava/lang/invoke/MemberName;
4 20 3 defc Ljava/lang/Class<*>;
5 20 4 refKind B
14 15 5 ex Ljava/lang/IllegalAccessException;
17 19 5 callerClass Ljava/lang/Class<*>;
Exception table:
from to target type
10 12 13 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
target
java.lang.invoke.MemberName resolveOrFail(byte, java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
flags: (0x0000)
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSymbolicClass:(Ljava/lang/Class;)V
1: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 4
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
iload 1
new java.lang.invoke.MemberName
dup
aload 2
aload 3
aload 4
iload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;B)V
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
4: ldc Ljava/lang/NoSuchFieldException;
5: invokevirtual java.lang.invoke.MemberName$Factory.resolveOrFail:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;ILjava/lang/Class;)Ljava/lang/invoke/MemberName;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 6 1 refKind B
0 6 2 refc Ljava/lang/Class<*>;
0 6 3 name Ljava/lang/String;
0 6 4 type Ljava/lang/Class<*>;
Exceptions:
throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/MemberName;
MethodParameters:
Name Flags
refKind
refc
name
type
java.lang.invoke.MemberName resolveOrFail(byte, java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType);
descriptor: (BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
flags: (0x0000)
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSymbolicClass:(Ljava/lang/Class;)V
1: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 4
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
iload 1
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkMethodName:(BLjava/lang/String;)V
4: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
iload 1
new java.lang.invoke.MemberName
dup
aload 2
aload 3
aload 4
iload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;B)V
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
5: ldc Ljava/lang/NoSuchMethodException;
6: invokevirtual java.lang.invoke.MemberName$Factory.resolveOrFail:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;ILjava/lang/Class;)Ljava/lang/invoke/MemberName;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 7 1 refKind B
0 7 2 refc Ljava/lang/Class<*>;
0 7 3 name Ljava/lang/String;
0 7 4 type Ljava/lang/invoke/MethodType;
Exceptions:
throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
MethodParameters:
Name Flags
refKind
refc
name
type
java.lang.invoke.MemberName resolveOrFail(byte, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/invoke/MemberName;)Ljava/lang/invoke/MemberName;
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSymbolicClass:(Ljava/lang/Class;)V
1: aload 2
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokevirtual java.lang.invoke.MemberName.getType:()Ljava/lang/Object;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
iload 1
aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
4: ldc Ljava/lang/ReflectiveOperationException;
5: invokevirtual java.lang.invoke.MemberName$Factory.resolveOrFail:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;ILjava/lang/Class;)Ljava/lang/invoke/MemberName;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 6 1 refKind B
0 6 2 member Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.ReflectiveOperationException
MethodParameters:
Name Flags
refKind
member
java.lang.invoke.MemberName resolveOrNull(byte, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/invoke/MemberName;)Ljava/lang/invoke/MemberName;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.isClassAccessible:(Ljava/lang/Class;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 2
invokevirtual java.lang.invoke.MemberName.getType:()Ljava/lang/Object;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
iload 1
aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
invokevirtual java.lang.invoke.MemberName$Factory.resolveOrNull:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;I)Ljava/lang/invoke/MemberName;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 5 1 refKind B
0 5 2 member Ljava/lang/invoke/MemberName;
MethodParameters:
Name Flags
refKind
member
void checkSymbolicClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.isClassAccessible:(Ljava/lang/Class;)Z
ifne 2
1: new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;)V
ldc "symbolic reference class is not accessible"
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 refc Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
refc
boolean isClassAccessible(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
astore 2
start local 2 2: aload 2
ifnull 3
aload 1
aload 2
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.prevLookupClass:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
ifne 3
iconst_0
ireturn
StackMap locals: java.lang.Class
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 4 1 refc Ljava/lang/Class<*>;
2 4 2 caller Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
refc
void checkMethodName(byte, java.lang.String);
descriptor: (BLjava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "<"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
iload 1
bipush 8
if_icmpeq 2
1: new java.lang.NoSuchMethodException
dup
new java.lang.StringBuilder
dup
ldc "illegal method name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 refKind B
0 3 2 name Ljava/lang/String;
Exceptions:
throws java.lang.NoSuchMethodException
MethodParameters:
Name Flags
refKind
name
java.lang.invoke.MethodHandles$Lookup findBoundCallerLookup(java.lang.invoke.MemberName);
descriptor: (Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.lang.invoke.MethodHandleNatives.isCallerSensitive:(Ljava/lang/invoke/MemberName;)Z
ifeq 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
bipush 64
iand
ifne 2
1: new java.lang.IllegalAccessException
dup
ldc "Attempt to lookup caller-sensitive method using restricted lookup object"
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 m Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
m
public boolean hasPrivateAccess();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasFullPrivilegeAccess:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "14")
public boolean hasFullPrivilegeAccess();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
bipush 18
iand
bipush 18
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/MethodHandles$Lookup;
void checkSecurityManager(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 1
return
1: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 2: aload 2
ifnonnull 3
return
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasFullPrivilegeAccess:()Z
istore 3
start local 3 4: iload 3
ifeq 6
5: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.classLoaderIsAncestor:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 7
6: StackMap locals: int
StackMap stack:
aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
7: StackMap locals:
StackMap stack:
iload 3
ifne 9
8: aload 2
getstatic sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 10 1 refc Ljava/lang/Class<*>;
2 10 2 smgr Ljava/lang/SecurityManager;
4 10 3 fullPrivilegeLookup Z
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
refc
void checkSecurityManager(java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 3
return
3: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 4: aload 3
ifnonnull 5
return
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasFullPrivilegeAccess:()Z
istore 4
start local 4 6: iload 4
ifeq 8
7: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.classLoaderIsAncestor:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 9
8: StackMap locals: int
StackMap stack:
aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.isPublic:()Z
ifeq 10
return
10: StackMap locals:
StackMap stack:
iload 4
ifne 12
11: aload 3
getstatic sun.security.util.SecurityConstants.CHECK_MEMBER_ACCESS_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
astore 5
start local 5 13: iload 4
ifne 15
aload 5
aload 1
if_acmpeq 15
14: aload 5
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
15: StackMap locals: java.lang.Class
StackMap stack:
return
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 16 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 16 1 refc Ljava/lang/Class<*>;
0 16 2 m Ljava/lang/invoke/MemberName;
4 16 3 smgr Ljava/lang/SecurityManager;
6 16 4 fullPrivilegeLookup Z
13 16 5 defc Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MemberName;)V
MethodParameters:
Name Flags
refc
m
void checkMethod(byte, java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
bipush 6
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 3
invokevirtual java.lang.invoke.MemberName.isConstructor:()Z
ifeq 6
4: ldc "expected a method, not a constructor"
astore 5
start local 5 5: goto 15
end local 5 6: StackMap locals: int
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MemberName.isMethod:()Z
ifne 9
7: ldc "expected a method"
astore 5
start local 5 8: goto 15
end local 5 9: StackMap locals:
StackMap stack:
iload 4
aload 3
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
if_icmpeq 14
10: iload 4
ifeq 11
ldc "expected a static method"
goto 12
StackMap locals:
StackMap stack:
11: ldc "expected a non-static method"
StackMap locals:
StackMap stack: java.lang.String
12: astore 5
start local 5 13: goto 15
end local 5 14: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkAccess:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
return
start local 5 15: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 5
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
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 16 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 16 1 refKind B
0 16 2 refc Ljava/lang/Class<*>;
0 16 3 m Ljava/lang/invoke/MemberName;
3 16 4 wantStatic Z
5 6 5 message Ljava/lang/String;
8 9 5 message Ljava/lang/String;
13 14 5 message Ljava/lang/String;
15 16 5 message Ljava/lang/String;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;)V
MethodParameters:
Name Flags
refKind
refc
m
void checkField(byte, java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindHasReceiver:(B)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: iload 4
aload 3
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
if_icmpeq 8
4: iload 4
ifeq 5
ldc "expected a static field"
goto 6
StackMap locals: int
StackMap stack:
5: ldc "expected a non-static field"
StackMap locals:
StackMap stack: java.lang.String
6: astore 5
start local 5 7: goto 9
end local 5 8: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkAccess:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
return
start local 5 9: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 5
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
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 10 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 10 1 refKind B
0 10 2 refc Ljava/lang/Class<*>;
0 10 3 m Ljava/lang/invoke/MemberName;
3 10 4 wantStatic Z
7 8 5 message Ljava/lang/String;
9 10 5 message Ljava/lang/String;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;)V
MethodParameters:
Name Flags
refKind
refc
m
void checkAccess(byte, java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 4
aload 3
iload 1
invokevirtual java.lang.invoke.MemberName.referenceKindIsConsistentWith:(I)Z
ifeq 3
1: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsValid:(I)Z
ifeq 3
2: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsField:(B)Z
aload 3
invokevirtual java.lang.invoke.MemberName.isField:()Z
if_icmpeq 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
istore 4
start local 4 5: iload 4
iconst_m1
if_icmpne 6
return
6: StackMap locals: int
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MemberName.getModifiers:()I
istore 5
start local 5 7: iload 5
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ifeq 13
8: iload 1
iconst_5
if_icmpne 13
9: aload 3
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpne 13
10: aload 3
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
ldc "clone"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 2
invokevirtual java.lang.Class.isArray:()Z
ifeq 13
12: iload 5
iconst_5
ixor
istore 5
13: StackMap locals: int
StackMap stack:
iload 5
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ifeq 15
iload 1
bipush 8
if_icmpne 15
14: iload 5
iconst_4
ixor
istore 5
15: StackMap locals:
StackMap stack:
iload 5
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
ifeq 18
16: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsSetter:(B)Z
ifeq 18
17: aload 3
ldc "unexpected set of a final field"
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
18: StackMap locals:
StackMap stack:
iload 5
invokestatic java.lang.invoke.MethodHandles$Lookup.fixmods:(I)I
istore 6
start local 6 19: iload 6
iload 4
iand
ifeq 25
20: aload 2
aload 3
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
21: iload 5
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.previousLookupClass:()Ljava/lang/Class;
iload 4
22: invokestatic sun.invoke.util.VerifyAccess.isMemberAccessible:(Ljava/lang/Class;Ljava/lang/Class;ILjava/lang/Class;Ljava/lang/Class;I)Z
23: ifeq 28
24: return
25: StackMap locals: int
StackMap stack:
iload 6
iconst_4
iand
ifeq 28
iload 4
bipush 8
iand
ifeq 28
26: aload 3
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokestatic sun.invoke.util.VerifyAccess.isSamePackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 28
27: return
28: StackMap locals:
StackMap stack:
aload 3
aload 0
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.accessFailedMessage:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/String;
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
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 29 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 29 1 refKind B
0 29 2 refc Ljava/lang/Class<*>;
0 29 3 m Ljava/lang/invoke/MemberName;
5 29 4 allowedModes I
7 29 5 mods I
19 29 6 requestedModes I
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;)V
MethodParameters:
Name Flags
refKind
refc
m
java.lang.String accessFailedMessage(java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
astore 3
start local 3 1: aload 2
invokevirtual java.lang.invoke.MemberName.getModifiers:()I
istore 4
start local 4 2: aload 3
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 6
3: aload 3
aload 1
if_acmpeq 5
4: aload 1
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 6
5: StackMap locals: java.lang.Class int
StackMap stack:
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 5
start local 5 8: iload 5
ifne 15
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
bipush 8
iand
ifeq 15
9: aload 3
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
aconst_null
bipush 95
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
ifeq 13
10: aload 3
aload 1
if_acmpeq 12
11: aload 1
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
aconst_null
bipush 95
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
ifeq 13
12: StackMap locals: int
StackMap stack:
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 5
15: StackMap locals:
StackMap stack:
iload 5
ifne 17
16: ldc "class is not public"
areturn
17: StackMap locals:
StackMap stack:
iload 4
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 19
18: ldc "access to public member failed"
areturn
19: StackMap locals:
StackMap stack:
iload 4
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifeq 21
20: ldc "member is private"
areturn
21: StackMap locals:
StackMap stack:
iload 4
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ifeq 23
22: ldc "member is protected"
areturn
23: StackMap locals:
StackMap stack:
ldc "member is private to package"
areturn
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 24 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 24 1 refc Ljava/lang/Class<*>;
0 24 2 m Ljava/lang/invoke/MemberName;
1 24 3 defc Ljava/lang/Class<*>;
2 24 4 mods I
8 24 5 classOK Z
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MemberName;)Ljava/lang/String;
MethodParameters:
Name Flags
refc
m
private void checkSpecialCaller(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpne 2
return
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
iconst_2
iand
ifeq 5
3: aload 1
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
if_acmpeq 8
4: aload 2
ifnull 5
aload 2
invokevirtual java.lang.Class.isInterface:()Z
ifeq 5
aload 2
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 8
5: StackMap locals:
StackMap stack:
new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;)V
6: ldc "no private access for invokespecial"
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 9 1 specialCaller Ljava/lang/Class<*>;
0 9 2 refc Ljava/lang/Class<*>;
1 9 3 allowedModes I
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
specialCaller
refc
private boolean restrictProtectedReceiver(java.lang.invoke.MemberName);
descriptor: (Ljava/lang/invoke/MemberName;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.invoke.MemberName.isProtected:()Z
ifeq 4
aload 1
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
ifne 4
1: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpeq 4
2: aload 1
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
if_acmpeq 4
3: aload 1
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokestatic sun.invoke.util.VerifyAccess.isSamePackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 6 1 method Ljava/lang/invoke/MemberName;
MethodParameters:
Name Flags
method
private java.lang.invoke.MethodHandle restrictReceiver(java.lang.invoke.MemberName, java.lang.invoke.DirectMethodHandle, java.lang.Class<?>);
descriptor: (Ljava/lang/invoke/MemberName;Ljava/lang/invoke/DirectMethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
2: aload 1
ldc "caller class must be a subclass below the method"
aload 3
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.DirectMethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 4
start local 4 4: aload 3
aload 4
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
aload 2
areturn
5: StackMap locals: java.lang.invoke.MethodType
StackMap stack:
aload 4
iconst_0
aload 3
invokevirtual java.lang.invoke.MethodType.changeParameterType:(ILjava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 5
start local 5 6: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 7
aload 2
invokevirtual java.lang.invoke.DirectMethodHandle.isVarargsCollector:()Z
ifeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: java.lang.invoke.MethodType
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 8
aload 2
aload 5
iconst_1
invokevirtual java.lang.invoke.DirectMethodHandle.viewAsTypeChecks:(Ljava/lang/invoke/MethodType;Z)Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 2
aload 5
aload 2
getfield java.lang.invoke.DirectMethodHandle.form:Ljava/lang/invoke/LambdaForm;
invokevirtual java.lang.invoke.DirectMethodHandle.copyWith:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;)Ljava/lang/invoke/MethodHandle;
areturn
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 9 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 9 1 method Ljava/lang/invoke/MemberName;
0 9 2 mh Ljava/lang/invoke/DirectMethodHandle;
0 9 3 caller Ljava/lang/Class<*>;
4 9 4 rawType Ljava/lang/invoke/MethodType;
6 9 5 narrowType Ljava/lang/invoke/MethodType;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/invoke/MemberName;Ljava/lang/invoke/DirectMethodHandle;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
method
mh
caller
private java.lang.invoke.MethodHandle getDirectMethod(byte, java.lang.Class<?>, java.lang.invoke.MemberName, java.lang.invoke.MethodHandles$Lookup);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
aload 3
iconst_1
iconst_1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;ZZLjava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 refKind B
0 1 2 refc Ljava/lang/Class<*>;
0 1 3 method Ljava/lang/invoke/MemberName;
0 1 4 callerLookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
method
callerLookup
private java.lang.invoke.MethodHandle getDirectMethodNoRestrictInvokeSpecial(java.lang.Class<?>, java.lang.invoke.MemberName, java.lang.invoke.MethodHandles$Lookup);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
bipush 7
aload 1
aload 2
iconst_1
iconst_0
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;ZZLjava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 refc Ljava/lang/Class<*>;
0 1 2 method Ljava/lang/invoke/MemberName;
0 1 3 callerLookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
method
callerLookup
private java.lang.invoke.MethodHandle getDirectMethodNoSecurityManager(byte, java.lang.Class<?>, java.lang.invoke.MemberName, java.lang.invoke.MethodHandles$Lookup);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
aload 3
iconst_0
iconst_1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;ZZLjava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 refKind B
0 1 2 refc Ljava/lang/Class<*>;
0 1 3 method Ljava/lang/invoke/MemberName;
0 1 4 callerLookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
method
callerLookup
private java.lang.invoke.MethodHandle getDirectMethodCommon(byte, java.lang.Class<?>, java.lang.invoke.MemberName, boolean, boolean, java.lang.invoke.MethodHandles$Lookup);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;ZZLjava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
iload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
1: iload 4
ifeq 3
2: aload 0
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
3: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 4
aload 3
invokevirtual java.lang.invoke.MemberName.isMethodHandleInvoke:()Z
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 1
bipush 7
if_icmpne 24
5: aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
if_acmpeq 24
6: aload 2
invokevirtual java.lang.Class.isInterface:()Z
ifne 24
7: aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
if_acmpeq 24
8: aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 24
9: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 10
aload 3
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
ldc "<init>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
astore 7
start local 7 11: StackMap locals: java.lang.Class
StackMap stack:
aload 7
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 7
12: new java.lang.invoke.MemberName
dup
aload 7
13: aload 3
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
14: aload 3
invokevirtual java.lang.invoke.MemberName.getMethodType:()Ljava/lang/invoke/MethodType;
15: bipush 7
16: invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;B)V
astore 8
start local 8 17: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
iload 1
aload 8
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
invokevirtual java.lang.invoke.MemberName$Factory.resolveOrNull:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;I)Ljava/lang/invoke/MemberName;
astore 8
18: aload 8
ifnonnull 20
19: aload 2
aload 7
if_acmpne 11
20: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
aload 8
ifnonnull 21
new java.lang.InternalError
dup
aload 3
invokevirtual java.lang.invoke.MemberName.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 8
astore 3
22: aload 7
astore 2
23: aload 0
iload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
end local 8 end local 7 24: StackMap locals:
StackMap stack:
iload 1
aload 2
aload 3
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokestatic java.lang.invoke.DirectMethodHandle.make:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)Ljava/lang/invoke/DirectMethodHandle;
astore 7
start local 7 25: aload 7
astore 8
start local 8 26: iload 5
ifeq 27
iload 1
bipush 7
if_icmpeq 28
27: StackMap locals: java.lang.invoke.DirectMethodHandle java.lang.invoke.MethodHandle
StackMap stack:
iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindHasReceiver:(B)Z
ifeq 29
aload 0
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.restrictProtectedReceiver:(Ljava/lang/invoke/MemberName;)Z
ifeq 29
28: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 7
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.restrictReceiver:(Ljava/lang/invoke/MemberName;Ljava/lang/invoke/DirectMethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 8
29: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 8
aload 6
invokevirtual java.lang.invoke.MethodHandles$Lookup.maybeBindCaller:(Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
astore 8
30: aload 8
aload 3
invokevirtual java.lang.invoke.MethodHandle.setVarargs:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
astore 8
31: aload 8
areturn
end local 8 end local 7 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 32 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 32 1 refKind B
0 32 2 refc Ljava/lang/Class<*>;
0 32 3 method Ljava/lang/invoke/MemberName;
0 32 4 checkSecurity Z
0 32 5 doRestrict Z
0 32 6 boundCaller Ljava/lang/invoke/MethodHandles$Lookup;
11 24 7 refcAsSuper Ljava/lang/Class<*>;
17 24 8 m2 Ljava/lang/invoke/MemberName;
25 32 7 dmh Ljava/lang/invoke/DirectMethodHandle;
26 32 8 mh Ljava/lang/invoke/MethodHandle;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;ZZLjava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
method
checkSecurity
doRestrict
boundCaller
private java.lang.invoke.MethodHandle maybeBindCaller(java.lang.invoke.MemberName, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandles$Lookup);
descriptor: (Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpeq 1
aload 1
invokestatic java.lang.invoke.MethodHandleNatives.isCallerSensitive:(Ljava/lang/invoke/MemberName;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
bipush 64
iand
ifne 4
3: new java.lang.IllegalAccessException
dup
ldc "Attempt to lookup caller-sensitive method using restricted lookup object"
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 5
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasFullPrivilegeAccess:()Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 2
aload 3
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokestatic java.lang.invoke.MethodHandleImpl.bindCaller:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 4
start local 4 6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 7 1 method Ljava/lang/invoke/MemberName;
0 7 2 mh Ljava/lang/invoke/MethodHandle;
0 7 3 boundCaller Ljava/lang/invoke/MethodHandles$Lookup;
6 7 4 cbmh Ljava/lang/invoke/MethodHandle;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
method
mh
boundCaller
private java.lang.invoke.MethodHandle getDirectField(byte, java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
iconst_1
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectFieldCommon:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 refKind B
0 1 2 refc Ljava/lang/Class<*>;
0 1 3 field Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
field
private java.lang.invoke.MethodHandle getDirectFieldNoSecurityManager(byte, java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectFieldCommon:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 refKind B
0 1 2 refc Ljava/lang/Class<*>;
0 1 3 field Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
field
private java.lang.invoke.MethodHandle getDirectFieldCommon(byte, java.lang.Class<?>, java.lang.invoke.MemberName, boolean);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
1: iload 4
ifeq 3
2: aload 0
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
3: StackMap locals:
StackMap stack:
aload 2
aload 3
invokestatic java.lang.invoke.DirectMethodHandle.make:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/DirectMethodHandle;
astore 5
start local 5 4: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindHasReceiver:(B)Z
ifeq 7
5: aload 0
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.restrictProtectedReceiver:(Ljava/lang/invoke/MemberName;)Z
ifeq 7
6: iconst_1
goto 8
StackMap locals: java.lang.invoke.DirectMethodHandle
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 6
start local 6 9: iload 6
ifeq 11
10: aload 0
aload 3
aload 5
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.restrictReceiver:(Ljava/lang/invoke/MemberName;Ljava/lang/invoke/DirectMethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
11: StackMap locals: int
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 12 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 12 1 refKind B
0 12 2 refc Ljava/lang/Class<*>;
0 12 3 field Ljava/lang/invoke/MemberName;
0 12 4 checkSecurity Z
4 12 5 dmh Ljava/lang/invoke/DirectMethodHandle;
9 12 6 doRestrict Z
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
field
checkSecurity
private java.lang.invoke.VarHandle getFieldVarHandle(byte, byte, java.lang.Class<?>, java.lang.invoke.MemberName, java.lang.invoke.MemberName);
descriptor: (BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/VarHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
iload 2
aload 3
aload 4
aload 5
iconst_1
invokevirtual java.lang.invoke.MethodHandles$Lookup.getFieldVarHandleCommon:(BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/VarHandle;
areturn
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 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 getRefKind B
0 1 2 putRefKind B
0 1 3 refc Ljava/lang/Class<*>;
0 1 4 getField Ljava/lang/invoke/MemberName;
0 1 5 putField Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BBLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
getRefKind
putRefKind
refc
getField
putField
private java.lang.invoke.VarHandle getFieldVarHandleNoSecurityManager(byte, byte, java.lang.Class<?>, java.lang.invoke.MemberName, java.lang.invoke.MemberName);
descriptor: (BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/VarHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
iload 2
aload 3
aload 4
aload 5
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.getFieldVarHandleCommon:(BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/VarHandle;
areturn
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 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 getRefKind B
0 1 2 putRefKind B
0 1 3 refc Ljava/lang/Class<*>;
0 1 4 getField Ljava/lang/invoke/MemberName;
0 1 5 putField Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BBLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
getRefKind
putRefKind
refc
getField
putField
private java.lang.invoke.VarHandle getFieldVarHandleCommon(byte, byte, java.lang.Class<?>, java.lang.invoke.MemberName, java.lang.invoke.MemberName, boolean);
descriptor: (BBLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/VarHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 1
aload 4
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
aload 5
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 3
aload 4
invokevirtual java.lang.invoke.MemberName.isGetter:()Z
ifeq 2
aload 5
invokevirtual java.lang.invoke.MemberName.isSetter:()Z
ifne 3
StackMap locals:
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 4
iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsStatic:(B)Z
iload 2
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsStatic:(B)Z
if_icmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 6
iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsGetter:(B)Z
ifeq 5
iload 2
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsSetter:(B)Z
ifne 6
StackMap locals:
StackMap stack:
5: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
7: iload 6
ifeq 9
8: aload 0
aload 3
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
9: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.invoke.MemberName.isFinal:()Z
ifne 13
10: aload 0
iload 2
aload 3
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
11: iload 6
ifeq 13
12: aload 0
aload 3
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
13: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindHasReceiver:(B)Z
ifeq 16
14: aload 0
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.restrictProtectedReceiver:(Ljava/lang/invoke/MemberName;)Z
ifeq 16
15: iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 7
start local 7 18: iload 7
ifeq 23
19: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 20
aload 4
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
ifeq 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals: int
StackMap stack:
aload 4
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 22
21: aload 4
ldc "caller class must be a subclass below the method"
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
22: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
astore 3
23: StackMap locals:
StackMap stack:
aload 4
aload 3
aload 4
invokevirtual java.lang.invoke.MemberName.getFieldType:()Ljava/lang/Class;
24: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 25
aload 4
invokevirtual java.lang.invoke.MemberName.isTrustedFinalField:()Z
ifne 25
iconst_1
goto 26
StackMap locals: java.lang.invoke.MethodHandles$Lookup int int java.lang.Class java.lang.invoke.MemberName java.lang.invoke.MemberName int int
StackMap stack: java.lang.invoke.MemberName java.lang.Class java.lang.Class
25: iconst_0
26: StackMap locals: java.lang.invoke.MethodHandles$Lookup int int java.lang.Class java.lang.invoke.MemberName java.lang.invoke.MemberName int int
StackMap stack: java.lang.invoke.MemberName java.lang.Class java.lang.Class int
invokestatic java.lang.invoke.VarHandles.makeFieldHandle:(Ljava/lang/invoke/MemberName;Ljava/lang/Class;Ljava/lang/Class;Z)Ljava/lang/invoke/VarHandle;
areturn
end local 7 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 27 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 27 1 getRefKind B
0 27 2 putRefKind B
0 27 3 refc Ljava/lang/Class<*>;
0 27 4 getField Ljava/lang/invoke/MemberName;
0 27 5 putField Ljava/lang/invoke/MemberName;
0 27 6 checkSecurity Z
18 27 7 doRestrict Z
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BBLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
getRefKind
putRefKind
refc
getField
putField
checkSecurity
private java.lang.invoke.MethodHandle getDirectConstructor(java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectConstructorCommon:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 refc Ljava/lang/Class<*>;
0 1 2 ctor Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
ctor
private java.lang.invoke.MethodHandle getDirectConstructorNoSecurityManager(java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectConstructorCommon:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 refc Ljava/lang/Class<*>;
0 1 2 ctor Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
ctor
private java.lang.invoke.MethodHandle getDirectConstructorCommon(java.lang.Class<?>, java.lang.invoke.MemberName, boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 1
aload 2
invokevirtual java.lang.invoke.MemberName.isConstructor:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
bipush 8
aload 1
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkAccess:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
2: iload 3
ifeq 4
3: aload 0
aload 1
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
4: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 5
aload 2
invokestatic java.lang.invoke.MethodHandleNatives.isCallerSensitive:(Ljava/lang/invoke/MemberName;)Z
ifeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.invoke.DirectMethodHandle.make:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/DirectMethodHandle;
aload 2
invokevirtual java.lang.invoke.DirectMethodHandle.setVarargs:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 6 1 refc Ljava/lang/Class<*>;
0 6 2 ctor Ljava/lang/invoke/MemberName;
0 6 3 checkSecurity Z
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MemberName;Z)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refc
ctor
checkSecurity
java.lang.invoke.MethodHandle linkMethodHandleConstant(byte, java.lang.Class<?>, java.lang.String, );
descriptor: (BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0000)
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
instanceof java.lang.Class
ifne 2
aload 4
instanceof java.lang.invoke.MethodType
ifne 2
1: new java.lang.InternalError
dup
ldc "unresolved MemberName"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.lang.invoke.MemberName
dup
iload 1
aload 2
aload 3
aload 4
invokespecial java.lang.invoke.MemberName.<init>:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
astore 5
start local 5 3: getstatic java.lang.invoke.MethodHandles$Lookup.LOOKASIDE_TABLE:Ljava/util/concurrent/ConcurrentHashMap;
aload 5
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandle
astore 6
start local 6 4: aload 6
ifnull 7
5: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSymbolicClass:(Ljava/lang/Class;)V
6: aload 6
areturn
7: StackMap locals: java.lang.invoke.MemberName java.lang.invoke.MethodHandle
StackMap stack:
aload 2
ldc Ljava/lang/invoke/MethodHandle;
if_acmpne 11
iload 1
iconst_5
if_icmpne 11
8: aload 0
aload 5
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
aload 5
invokevirtual java.lang.invoke.MemberName.getMethodType:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtualForMH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 6
9: aload 6
ifnull 15
10: aload 6
areturn
11: StackMap locals:
StackMap stack:
aload 2
ldc Ljava/lang/invoke/VarHandle;
if_acmpne 15
iload 1
iconst_5
if_icmpne 15
12: aload 0
aload 5
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
aload 5
invokevirtual java.lang.invoke.MemberName.getMethodType:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtualForVH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 6
13: aload 6
ifnull 15
14: aload 6
areturn
15: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/invoke/MemberName;)Ljava/lang/invoke/MemberName;
astore 7
start local 7 16: aload 0
iload 1
aload 2
aload 7
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodForConstant:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
astore 6
17: aload 6
instanceof java.lang.invoke.DirectMethodHandle
ifeq 24
18: aload 0
iload 1
aload 2
aload 7
invokevirtual java.lang.invoke.MethodHandles$Lookup.canBeCached:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Z
ifeq 24
19: aload 6
invokevirtual java.lang.invoke.MethodHandle.internalMemberName:()Ljava/lang/invoke/MemberName;
astore 8
start local 8 20: aload 8
ifnull 22
21: aload 8
invokevirtual java.lang.invoke.MemberName.asNormalOriginal:()Ljava/lang/invoke/MemberName;
astore 8
22: StackMap locals: java.lang.invoke.MemberName java.lang.invoke.MemberName
StackMap stack:
aload 5
aload 8
invokevirtual java.lang.invoke.MemberName.equals:(Ljava/lang/invoke/MemberName;)Z
ifeq 24
23: getstatic java.lang.invoke.MethodHandles$Lookup.LOOKASIDE_TABLE:Ljava/util/concurrent/ConcurrentHashMap;
aload 8
aload 6
checkcast java.lang.invoke.DirectMethodHandle
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 24: StackMap locals:
StackMap stack:
aload 6
areturn
end local 7 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 25 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 25 1 refKind B
0 25 2 defc Ljava/lang/Class<*>;
0 25 3 name Ljava/lang/String;
0 25 4 type Ljava/lang/Object;
3 25 5 member Ljava/lang/invoke/MemberName;
4 25 6 mh Ljava/lang/invoke/MethodHandle;
16 25 7 resolved Ljava/lang/invoke/MemberName;
20 24 8 key Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.ReflectiveOperationException
Signature: (BLjava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
defc
name
type
private boolean canBeCached(byte, java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
bipush 7
if_icmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 6
3: aload 3
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 6
4: aload 3
invokevirtual java.lang.invoke.MemberName.isPublic:()Z
ifeq 6
5: aload 3
invokevirtual java.lang.invoke.MemberName.isCallerSensitive:()Z
ifeq 7
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 4
start local 4 8: aload 4
ifnull 17
9: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 5
start local 5 10: iconst_0
istore 6
start local 6 11: goto 14
12: StackMap locals: java.lang.ClassLoader java.lang.ClassLoader int
StackMap stack:
aload 4
aload 5
if_acmpne 13
iconst_1
istore 6
goto 15
13: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 5
14: StackMap locals:
StackMap stack:
aload 5
ifnonnull 12
15: StackMap locals:
StackMap stack:
iload 6
ifne 17
16: iconst_0
ireturn
end local 6 end local 5 17: StackMap locals:
StackMap stack:
invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
iload 1
18: new java.lang.invoke.MemberName
dup
iload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
aload 3
invokevirtual java.lang.invoke.MemberName.getType:()Ljava/lang/Object;
invokespecial java.lang.invoke.MemberName.<init>:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
19: invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrNull:(BLjava/lang/invoke/MemberName;)Ljava/lang/invoke/MemberName;
astore 5
start local 5 20: aload 5
ifnonnull 22
21: iconst_0
ireturn
22: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
aload 0
aload 2
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
end local 5 23: goto 26
StackMap locals: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName java.lang.ClassLoader
StackMap stack: java.lang.SecurityException
24: pop
25: iconst_0
ireturn
26: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 27 1 refKind B
0 27 2 defc Ljava/lang/Class<*>;
0 27 3 member Ljava/lang/invoke/MemberName;
8 27 4 loader Ljava/lang/ClassLoader;
10 17 5 sysl Ljava/lang/ClassLoader;
11 17 6 found Z
20 23 5 resolved2 Ljava/lang/invoke/MemberName;
Exception table:
from to target type
17 21 24 Class java.lang.SecurityException
22 23 24 Class java.lang.SecurityException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;)Z
MethodParameters:
Name Flags
refKind
defc
member
private java.lang.invoke.MethodHandle getDirectMethodForConstant(byte, java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsField:(B)Z
ifeq 2
1: aload 0
iload 1
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectFieldNoSecurityManager:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
2: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsMethod:(B)Z
ifeq 4
3: aload 0
iload 1
aload 2
aload 3
aload 0
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandles$Lookup;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
areturn
4: StackMap locals:
StackMap stack:
iload 1
bipush 8
if_icmpne 6
5: aload 0
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectConstructorNoSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "bad MethodHandle constant #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 7 1 refKind B
0 7 2 defc Ljava/lang/Class<*>;
0 7 3 member Ljava/lang/invoke/MemberName;
Exceptions:
throws java.lang.ReflectiveOperationException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
defc
member
}
SourceFile: "MethodHandles.java"
NestHost: java.lang.invoke.MethodHandles
InnerClasses:
Factory = java.lang.invoke.MemberName$Factory of java.lang.invoke.MemberName
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
ClassDefiner = java.lang.invoke.MethodHandles$Lookup$ClassDefiner of java.lang.invoke.MethodHandles$Lookup
ClassFile = java.lang.invoke.MethodHandles$Lookup$ClassFile of java.lang.invoke.MethodHandles$Lookup
public final ClassOption = java.lang.invoke.MethodHandles$Lookup$ClassOption of java.lang.invoke.MethodHandles$Lookup
public final AccessMode = java.lang.invoke.VarHandle$AccessMode of java.lang.invoke.VarHandle