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 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
private static final int ALL_MODES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 63
private static final int FULL_POWER_MODES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 31
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=4, 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: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
4: new java.lang.invoke.MethodHandles$Lookup
dup
ldc Ljava/lang/Object;
iconst_m1
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;I)V
putstatic java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
5: new java.lang.invoke.MethodHandles$Lookup
dup
ldc Ljava/lang/Object;
bipush 33
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;I)V
putstatic java.lang.invoke.MethodHandles$Lookup.PUBLIC_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
6: 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
ifeq 2
iload 0
goto 3
StackMap locals:
StackMap stack:
2: bipush 56
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 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<*>;
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 63
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 31
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;I)V
1: aload 1
invokestatic java.lang.invoke.MethodHandles$Lookup.checkUnprivilegedlookupClass:(Ljava/lang/Class;)V
2: 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 lookupClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
lookupClass
private void <init>(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
2: aload 0
iload 2
putfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
3: return
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 lookupClass Ljava/lang/Class<*>;
0 4 2 allowedModes I
Signature: (Ljava/lang/Class<*>;I)V
MethodParameters:
Name Flags
lookupClass
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=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
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 3
2: new java.lang.invoke.MethodHandles$Lookup
dup
aload 1
bipush 31
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;I)V
areturn
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
if_acmpne 5
4: aload 0
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
bipush 31
iand
istore 2
start local 2 6: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.isSameModule:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 11
7: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokevirtual java.lang.Module.isNamed:()Z
ifeq 10
8: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
bipush 32
iand
ifne 10
9: iconst_0
istore 2
goto 11
10: StackMap locals: int
StackMap stack:
iload 2
bipush -31
iand
istore 2
11: StackMap locals:
StackMap stack:
iload 2
bipush 8
iand
ifeq 14
12: 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 14
13: iload 2
bipush -15
iand
istore 2
14: StackMap locals:
StackMap stack:
iload 2
iconst_2
iand
ifeq 17
15: 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 17
16: iload 2
bipush -7
iand
istore 2
17: StackMap locals:
StackMap stack:
iload 2
iconst_1
iand
ifeq 20
18: aload 1
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass: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;I)Z
ifne 20
19: iconst_0
istore 2
20: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.invoke.MethodHandles$Lookup.checkUnprivilegedlookupClass:(Ljava/lang/Class;)V
21: new java.lang.invoke.MethodHandles$Lookup
dup
aload 1
iload 2
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 22 1 requestedLookupClass Ljava/lang/Class<*>;
6 22 2 newModes I
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 32
ior
iconst_m1
ixor
iand
istore 3
start local 3 2: iload 1
lookupswitch { // 6
1: 3
2: 6
4: 6
8: 5
16: 4
32: 6
default: 7
}
3: StackMap locals: int int
StackMap stack:
iload 3
bipush -64
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:
new java.lang.invoke.MethodHandles$Lookup
dup
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
iload 3
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;I)V
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=6, locals=11, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
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
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
bipush 8
iand
ifne 5
4: new java.lang.IllegalAccessException
dup
ldc "Lookup does not have PACKAGE access"
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 6
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
bipush 17
iand
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 1
7: new jdk.internal.org.objectweb.asm.ClassReader
dup
aload 1
invokespecial jdk.internal.org.objectweb.asm.ClassReader.<init>:([B)V
astore 4
start local 4 8: aload 4
invokevirtual jdk.internal.org.objectweb.asm.ClassReader.getClassName:()Ljava/lang/String;
astore 3
end local 4 start local 3 9: goto 14
end local 3 StackMap locals:
StackMap stack: java.lang.RuntimeException
10: astore 4
start local 4 11: new java.lang.ClassFormatError
dup
invokespecial java.lang.ClassFormatError.<init>:()V
astore 5
start local 5 12: aload 5
aload 4
invokevirtual java.lang.ClassFormatError.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
13: aload 5
athrow
end local 5 end local 4 start local 3 14: StackMap locals: java.lang.String
StackMap stack:
aload 3
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 6
start local 6 15: iload 6
iconst_m1
if_icmpne 19
16: aload 3
astore 4
start local 4 17: ldc ""
astore 5
start local 5 18: goto 21
end local 5 end local 4 19: StackMap locals: java.lang.invoke.MethodHandles$Lookup byte[] java.lang.SecurityManager java.lang.String top top int
StackMap stack:
aload 3
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
start local 4 20: aload 4
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 21: StackMap locals: java.lang.invoke.MethodHandles$Lookup byte[] java.lang.SecurityManager java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 5
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
22: new java.lang.IllegalArgumentException
dup
ldc "Class not in same package as lookup class"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 7
start local 7 24: aload 7
ifnull 25
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassProtectionDomain:()Ljava/security/ProtectionDomain;
goto 26
StackMap locals: java.lang.ClassLoader
StackMap stack:
25: aconst_null
StackMap locals:
StackMap stack: java.security.ProtectionDomain
26: astore 8
start local 8 27: ldc "__Lookup_defineClass__"
astore 9
start local 9 28: invokestatic jdk.internal.misc.SharedSecrets.getJavaLangAccess:()Ljdk/internal/misc/JavaLangAccess;
aload 7
aload 4
aload 1
aload 8
aload 9
invokeinterface jdk.internal.misc.JavaLangAccess.defineClass:(Ljava/lang/ClassLoader;Ljava/lang/String;[BLjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;
astore 10
start local 10 29: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 33
aload 10
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
if_acmpne 32
30: aload 10
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
31: aload 0
aload 10
invokevirtual java.lang.invoke.MethodHandles$Lookup.protectionDomain:(Ljava/lang/Class;)Ljava/security/ProtectionDomain;
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassProtectionDomain:()Ljava/security/ProtectionDomain;
if_acmpeq 33
StackMap locals: java.security.ProtectionDomain java.lang.String java.lang.Class
StackMap stack:
32: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
aload 10
areturn
end local 10 end local 9 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 34 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 34 1 bytes [B
1 34 2 sm Ljava/lang/SecurityManager;
9 10 3 name Ljava/lang/String;
14 34 3 name Ljava/lang/String;
8 9 4 reader Ljdk/internal/org/objectweb/asm/ClassReader;
11 14 4 e Ljava/lang/RuntimeException;
12 14 5 cfe Ljava/lang/ClassFormatError;
17 19 4 cn Ljava/lang/String;
20 34 4 cn Ljava/lang/String;
18 19 5 pn Ljava/lang/String;
21 34 5 pn Ljava/lang/String;
15 34 6 index I
24 34 7 loader Ljava/lang/ClassLoader;
27 34 8 pd Ljava/security/ProtectionDomain;
28 34 9 source Ljava/lang/String;
29 34 10 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
7 9 10 Class java.lang.RuntimeException
Exceptions:
throws java.lang.IllegalAccessException
Signature: ([B)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
bytes
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
aload 0
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.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 java.security.ProtectionDomain protectionDomain(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/security/ProtectionDomain;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/lang/Class;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
java/lang/Class.getProtectionDomain()Ljava/security/ProtectionDomain; (5)
()Ljava/security/ProtectionDomain;
astore 2
start local 2 1: aload 2
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.security.ProtectionDomain
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 clazz Ljava/lang/Class<*>;
1 2 2 pa Ljava/security/PrivilegedAction<Ljava/security/ProtectionDomain;>;
Signature: (Ljava/lang/Class<*>;)Ljava/security/ProtectionDomain;
MethodParameters:
Name Flags
clazz
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.allowedModes:I
lookupswitch { // 8
-1: 9
0: 2
1: 3
17: 5
25: 6
27: 7
31: 8
33: 4
default: 10
}
2: StackMap locals: java.lang.String
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
3: 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
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 "/publicLookup"
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 "/module"
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 "/package"
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 "/private"
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:
aload 1
areturn
9: StackMap locals:
StackMap stack:
ldc "/trusted"
areturn
10: 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
11: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 12
new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/lang/invoke/MethodHandles$Lookup;
1 13 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.findBoundCallerClass:(Ljava/lang/invoke/MemberName;)Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)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.findBoundCallerClass:(Ljava/lang/invoke/MemberName;)Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)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<?> accessClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.allowedModes:I
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;I)Z
ifne 2
1: new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;)V
ldc "access violation"
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)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.findBoundCallerClass:(Ljava/lang/invoke/MemberName;)Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)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.findBoundCallerClass:(Ljava/lang/invoke/MemberName;)Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoRestrictInvokeSpecial:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)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.findBoundCallerClass:(Ljava/lang/invoke/MemberName;)Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)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
aconst_null
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.findBoundCallerClass:(Ljava/lang/invoke/MemberName;)Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)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
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: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 5
iload 2
ifeq 3
2: aload 3
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsSetter:(B)Z
ifne 5
goto 4
3: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsGetter:(B)Z
ifne 5
StackMap locals:
StackMap stack:
4: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Field.isAccessible:()Z
ifeq 6
getstatic java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
goto 7
StackMap locals:
StackMap stack:
6: aload 0
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandles$Lookup
7: astore 4
start local 4 8: 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 9 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 9 1 f Ljava/lang/reflect/Field;
0 9 2 isSetter Z
1 9 3 field Ljava/lang/invoke/MemberName;
8 9 4 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
f
isSetter
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
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.internalMemberName:()Ljava/lang/invoke/MemberName;
astore 2
start local 2 1: aload 2
ifnull 4
aload 2
invokevirtual java.lang.invoke.MemberName.isResolved:()Z
ifne 5
2: aload 2
invokevirtual java.lang.invoke.MemberName.isMethodHandleInvoke:()Z
ifne 5
3: aload 2
invokevirtual java.lang.invoke.MemberName.isVarHandleMethodInvoke:()Z
ifne 5
4: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
ldc "not a direct method handle"
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
astore 3
start local 3 6: aload 2
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
istore 4
start local 4 7: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 8
iload 4
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsValid:(I)Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: java.lang.Class int
StackMap stack:
iload 4
bipush 7
if_icmpne 10
aload 1
invokevirtual java.lang.invoke.MethodHandle.isInvokeSpecial:()Z
ifne 10
9: iconst_5
istore 4
10: StackMap locals:
StackMap stack:
iload 4
iconst_5
if_icmpne 12
aload 3
invokevirtual java.lang.Class.isInterface:()Z
ifeq 12
11: bipush 9
istore 4
12: 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
13: aload 0
aload 3
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
14: goto 17
StackMap locals:
StackMap stack: java.lang.IllegalAccessException
15: astore 5
start local 5 16: new java.lang.IllegalArgumentException
dup
aload 5
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 17: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpeq 21
aload 2
invokevirtual java.lang.invoke.MemberName.isCallerSensitive:()Z
ifeq 21
18: aload 1
invokevirtual java.lang.invoke.MethodHandle.internalCallerClass:()Ljava/lang/Class;
astore 5
start local 5 19: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasPrivateAccess:()Z
ifeq 20
aload 5
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
if_acmpeq 21
20: 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 21: 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 22 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 22 1 target Ljava/lang/invoke/MethodHandle;
1 22 2 member Ljava/lang/invoke/MemberName;
6 22 3 defc Ljava/lang/Class<*>;
7 22 4 refKind B
16 17 5 ex Ljava/lang/IllegalAccessException;
19 21 5 callerClass Ljava/lang/Class<*>;
Exception table:
from to target type
12 14 15 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;
4: ldc Ljava/lang/NoSuchFieldException;
5: invokevirtual java.lang.invoke.MemberName$Factory.resolveOrFail:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;Ljava/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;
5: ldc Ljava/lang/NoSuchMethodException;
6: invokevirtual java.lang.invoke.MemberName$Factory.resolveOrFail:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;Ljava/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=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.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;
4: ldc Ljava/lang/ReflectiveOperationException;
5: invokevirtual java.lang.invoke.MemberName$Factory.resolveOrFail:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;Ljava/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=4, 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;
invokevirtual java.lang.invoke.MemberName$Factory.resolveOrNull:(BLjava/lang/invoke/MemberName;Ljava/lang/Class;)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=3, 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.allowedModes:I
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(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.Class<?> findBoundCallerClass(java.lang.invoke.MemberName);
descriptor: (Ljava/lang/invoke/MemberName;)Ljava/lang/Class;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokestatic java.lang.invoke.MethodHandleNatives.isCallerSensitive:(Ljava/lang/invoke/MemberName;)Z
ifeq 6
2: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasPrivateAccess:()Z
ifeq 5
3: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
astore 2
4: goto 6
5: StackMap locals: java.lang.Class
StackMap stack:
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
6: StackMap locals:
StackMap stack:
aload 2
areturn
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 m Ljava/lang/invoke/MemberName;
1 7 2 callerClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/invoke/MemberName;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
m
public boolean hasPrivateAccess();
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
iconst_2
iand
ifeq 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<?>, 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: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnonnull 2
return
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpne 3
return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.hasPrivateAccess:()Z
istore 4
start local 4 4: iload 4
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:
aload 2
ifnonnull 11
8: iload 4
ifne 10
9: aload 3
getstatic sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
10: StackMap locals:
StackMap stack:
return
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.isPublic:()Z
ifeq 12
return
12: StackMap locals:
StackMap stack:
iload 4
ifne 14
13: aload 3
getstatic sun.security.util.SecurityConstants.CHECK_MEMBER_ACCESS_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
astore 5
start local 5 15: iload 4
ifne 17
aload 5
aload 1
if_acmpeq 17
16: aload 5
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
17: 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 18 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 18 1 refc Ljava/lang/Class<*>;
0 18 2 m Ljava/lang/invoke/MemberName;
1 18 3 smgr Ljava/lang/SecurityManager;
4 18 4 fullPowerLookup Z
15 18 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=5, 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;
iload 4
22: invokestatic sun.invoke.util.VerifyAccess.isMemberAccessible:(Ljava/lang/Class;Ljava/lang/Class;ILjava/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=3, 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