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
private static final int ALL_MODES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 15
private static final int TRUSTED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
static final java.lang.invoke.MethodHandles$Lookup PUBLIC_LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.invoke.MethodHandles$Lookup IMPL_LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final boolean ALLOW_NESTMATE_ACCESS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
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_1
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;
5: 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;
6: 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 8
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 15
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 15
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;I)V
1: aload 1
bipush 15
invokestatic java.lang.invoke.MethodHandles$Lookup.checkUnprivilegedlookupClass:(Ljava/lang/Class;I)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
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
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 15
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 11
iand
istore 2
start local 2 6: iload 2
bipush 8
iand
ifeq 9
7: 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 9
8: iload 2
bipush -11
iand
istore 2
9: StackMap locals: int
StackMap stack:
iload 2
iconst_2
iand
ifeq 12
10: 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 12
11: iload 2
bipush -3
iand
istore 2
12: StackMap locals:
StackMap stack:
iload 2
iconst_1
iand
ifeq 15
13: 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 15
14: iconst_0
istore 2
15: StackMap locals:
StackMap stack:
aload 1
iload 2
invokestatic java.lang.invoke.MethodHandles$Lookup.checkUnprivilegedlookupClass:(Ljava/lang/Class;I)V
16: 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 17 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 17 1 requestedLookupClass Ljava/lang/Class<*>;
6 17 2 newModes I
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
requestedLookupClass
private static void checkUnprivilegedlookupClass(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
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:
iload 1
bipush 15
if_icmpne 9
aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnonnull 9
4: aload 2
ldc "java."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
5: aload 2
ldc "sun."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
6: aload 2
ldc "sun.invoke."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 9
7: aload 2
ldc "sun.reflect.ReflectionFactory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
8: StackMap locals:
StackMap stack:
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
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 lookupClass Ljava/lang/Class<*>;
0 10 1 allowedModes I
1 10 2 name Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;I)V
MethodParameters:
Name Flags
lookupClass
allowedModes
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 { // 6
-1: 7
0: 2
1: 3
9: 4
11: 5
15: 6
default: 8
}
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 "/package"
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 "/private"
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:
aload 1
areturn
7: StackMap locals:
StackMap stack:
ldc "/trusted"
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 "/"
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
9: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 10
new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/lang/invoke/MethodHandles$Lookup;
1 11 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
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
2: 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 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 refc Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 type Ljava/lang/invoke/MethodType;
1 3 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 3
aload 4
areturn
end local 4 3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 4
bipush 9
goto 5
StackMap locals:
StackMap stack:
4: iconst_5
StackMap locals:
StackMap stack: int
5: istore 4
start local 4 6: 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 7: aload 0
aload 1
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
8: 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 9 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 9 1 refc Ljava/lang/Class<*>;
0 9 2 name Ljava/lang/String;
0 9 3 type Ljava/lang/invoke/MethodType;
2 3 4 mh Ljava/lang/invoke/MethodHandle;
6 9 4 refKind B
7 9 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:
aconst_null
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 name Ljava/lang/String;
0 5 2 type Ljava/lang/invoke/MethodType;
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: ldc "<init>"
astore 3
start local 3 1: 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 2: aload 0
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
3: 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 4 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 4 1 refc Ljava/lang/Class<*>;
0 4 2 type Ljava/lang/invoke/MethodType;
1 4 3 name Ljava/lang/String;
2 4 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.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
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSpecialCaller:(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 0
aload 1
aload 6
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
4: 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 5 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 5 1 refc Ljava/lang/Class<*>;
0 5 2 name Ljava/lang/String;
0 5 3 type Ljava/lang/invoke/MethodType;
0 5 4 specialCaller Ljava/lang/Class<*>;
2 5 5 specialLookup Ljava/lang/invoke/MethodHandles$Lookup;
3 5 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
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
2: 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 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 refc Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 type Ljava/lang/Class<*>;
1 3 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
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
2: 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 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 refc Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 type Ljava/lang/Class<*>;
1 3 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 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
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
2: 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 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 refc Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 type Ljava/lang/Class<*>;
1 3 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
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
2: 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 3 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 3 1 refc Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 type Ljava/lang/Class<*>;
1 3 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 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=6, 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
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSecurityManager:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
3: aload 0
bipush 7
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.getDirectMethodNoRestrict:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 6
start local 6 4: aload 6
aload 1
invokevirtual java.lang.invoke.MethodHandle.bindReceiver:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
aload 5
invokevirtual java.lang.invoke.MethodHandle.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 5 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 5 1 receiver Ljava/lang/Object;
0 5 2 name Ljava/lang/String;
0 5 3 type Ljava/lang/invoke/MethodType;
1 5 4 refc Ljava/lang/Class<+Ljava/lang/Object;>;
2 5 5 method Ljava/lang/invoke/MemberName;
4 5 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: new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/reflect/Method;)V
astore 2
start local 2 1: aload 2
invokevirtual java.lang.invoke.MemberName.getReferenceKind:()B
istore 3
start local 3 2: iload 3
bipush 7
if_icmpne 4
3: iconst_5
istore 3
4: StackMap locals: java.lang.invoke.MemberName int
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 5
aload 2
invokevirtual java.lang.invoke.MemberName.isMethod:()Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Method.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
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.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 9 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 9 1 m Ljava/lang/reflect/Method;
1 9 2 method Ljava/lang/invoke/MemberName;
2 9 3 refKind B
8 9 4 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Exceptions:
throws java.lang.IllegalAccessException
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
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSpecialCaller:(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.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 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.getDirectConstructor:(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
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.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 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
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 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
1: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSymbolicClass:(Ljava/lang/Class;)V
2: 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;
3: ldc Ljava/lang/NoSuchFieldException;
4: 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 5 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 5 1 refKind B
0 5 2 refc Ljava/lang/Class<*>;
0 5 3 name Ljava/lang/String;
0 5 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 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
1: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkSymbolicClass:(Ljava/lang/Class;)V
2: aload 0
iload 1
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkMethodName:(BLjava/lang/String;)V
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/invoke/MethodType;B)V
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
4: ldc Ljava/lang/NoSuchMethodException;
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/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
void checkSymbolicClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClassOrNull:()Ljava/lang/Class;
astore 2
start local 2 1: 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
2: new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;)V
ldc "symbolic reference class is not public"
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
athrow
3: StackMap locals: java.lang.Class
StackMap stack:
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 refc Ljava/lang/Class<*>;
1 4 2 caller Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;)V
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.isFullPowerLookup:()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
private boolean isFullPowerLookup();
descriptor: ()Z
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_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;
private boolean isCheckMemberAccessOverridden(java.lang.SecurityManager);
descriptor: (Ljava/lang/SecurityManager;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ldc Ljava/lang/SecurityManager;
if_acmpne 2
iconst_0
ireturn
2: StackMap locals: java.lang.Class
StackMap stack:
aload 2
ldc "checkMemberAccess"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
dup
iconst_1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
3: invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
ldc Ljava/lang/SecurityManager;
4: if_acmpeq 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
6: ireturn
7: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
8: new java.lang.InternalError
dup
ldc "should not reach here"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
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 sm Ljava/lang/SecurityManager;
1 9 2 cls Ljava/lang/Class<+Ljava/lang/SecurityManager;>;
Exception table:
from to target type
2 6 7 Class java.lang.NoSuchMethodException
MethodParameters:
Name Flags
sm
void checkSecurityManager(java.lang.Class<?>, java.lang.invoke.MemberName);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MemberName;)V
flags: (0x0000)
Code:
stack=3, locals=7, 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
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.isCheckMemberAccessOverridden:(Ljava/lang/SecurityManager;)Z
istore 4
start local 4 4: aload 1
astore 5
start local 5 5: iload 4
ifeq 7
6: aload 3
aload 5
iconst_0
invokevirtual java.lang.SecurityManager.checkMemberAccess:(Ljava/lang/Class;I)V
end local 5 7: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.isFullPowerLookup:()Z
ifeq 9
8: 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 10
9: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.isPublic:()Z
ifeq 11
return
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
astore 5
start local 5 12: aload 5
astore 6
start local 6 13: iload 4
ifne 17
14: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.isFullPowerLookup:()Z
ifne 18
15: aload 3
getstatic sun.security.util.SecurityConstants.CHECK_MEMBER_ACCESS_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
16: goto 18
17: StackMap locals: java.lang.Class java.lang.Class
StackMap stack:
aload 3
aload 6
iconst_1
invokevirtual java.lang.SecurityManager.checkMemberAccess:(Ljava/lang/Class;I)V
end local 6 18: StackMap locals:
StackMap stack:
aload 5
aload 1
if_acmpeq 20
19: aload 5
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
20: StackMap locals:
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 21 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 21 1 refc Ljava/lang/Class<*>;
0 21 2 m Ljava/lang/invoke/MemberName;
1 21 3 smgr Ljava/lang/SecurityManager;
4 21 4 overridden Z
5 7 5 clazz Ljava/lang/Class<*>;
12 21 5 defc Ljava/lang/Class<*>;
13 18 6 clazz 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 15
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 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.reflect.Modifier.isPublic:(I)Z
ifeq 20
aload 2
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 20
iload 4
ifeq 20
19: return
20: StackMap locals:
StackMap stack:
iload 5
invokestatic java.lang.invoke.MethodHandles$Lookup.fixmods:(I)I
istore 6
start local 6 21: iload 6
iload 4
iand
ifeq 27
22: aload 2
aload 3
invokevirtual java.lang.invoke.MemberName.getDeclaringClass:()Ljava/lang/Class;
23: iload 5
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
iload 4
24: invokestatic sun.invoke.util.VerifyAccess.isMemberAccessible:(Ljava/lang/Class;Ljava/lang/Class;ILjava/lang/Class;I)Z
25: ifeq 30
26: return
27: StackMap locals: int
StackMap stack:
iload 6
iconst_4
iand
ifeq 30
iload 4
bipush 8
iand
ifeq 30
28: 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 30
29: return
30: 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 31 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 31 1 refKind B
0 31 2 refc Ljava/lang/Class<*>;
0 31 3 m Ljava/lang/invoke/MemberName;
5 31 4 allowedModes I
7 31 5 mods I
21 31 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
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
bipush 15
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(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;
bipush 15
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(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<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 2
return
2: StackMap locals: int
StackMap stack:
iload 2
iconst_2
iand
ifeq 4
3: aload 1
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
if_acmpeq 7
4: StackMap locals:
StackMap stack:
new java.lang.invoke.MemberName
dup
aload 1
invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;)V
5: ldc "no private access for invokespecial"
aload 0
invokevirtual java.lang.invoke.MemberName.makeAccessException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/IllegalAccessException;
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 8 1 specialCaller Ljava/lang/Class<*>;
1 8 2 allowedModes I
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
specialCaller
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 5
aload 1
invokevirtual java.lang.invoke.MemberName.isStatic:()Z
ifne 5
1: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_m1
if_icmpeq 5
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 5
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
ifne 5
4: goto 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
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;
MethodParameters:
Name Flags
method
private java.lang.invoke.MethodHandle restrictReceiver(java.lang.invoke.MemberName, java.lang.invoke.MethodHandle, java.lang.Class<?>);
descriptor: (Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandle;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.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 4
start local 4 4: aload 4
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
aload 3
if_acmpne 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: aload 2
aload 5
invokevirtual java.lang.invoke.MethodHandle.viewAsType:(Ljava/lang/invoke/MethodType;)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 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 caller Ljava/lang/Class<*>;
4 7 4 rawType Ljava/lang/invoke/MethodType;
6 7 5 narrowType Ljava/lang/invoke/MethodType;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandle;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.Class<?>);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, 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
1: iload 1
bipush 7
if_icmpeq 5
2: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindHasReceiver:(B)Z
ifeq 4
3: aload 0
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.restrictProtectedReceiver:(Ljava/lang/invoke/MemberName;)Z
ifne 5
StackMap locals: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName java.lang.Class
StackMap stack: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName
4: iconst_0
goto 6
StackMap locals: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName java.lang.Class
StackMap stack: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName
5: iconst_1
StackMap locals: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName java.lang.Class
StackMap stack: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName int
6: aload 4
7: invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;ZLjava/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 8 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 8 1 refKind B
0 8 2 refc Ljava/lang/Class<*>;
0 8 3 method Ljava/lang/invoke/MemberName;
0 8 4 callerClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
method
callerClass
private java.lang.invoke.MethodHandle getDirectMethodNoRestrict(byte, java.lang.Class<?>, java.lang.invoke.MemberName, java.lang.Class<?>);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, 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
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;ZLjava/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 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 callerClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
method
callerClass
private java.lang.invoke.MethodHandle getDirectMethodCommon(byte, java.lang.Class<?>, java.lang.invoke.MemberName, boolean, java.lang.Class<?>);
descriptor: (BLjava/lang/Class;Ljava/lang/invoke/MemberName;ZLjava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, 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
aload 2
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.checkMethod:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)V
1: aload 3
invokevirtual java.lang.invoke.MemberName.isMethodHandleInvoke:()Z
ifeq 3
2: aload 0
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.fakeMethodHandleInvoke:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
3: StackMap locals:
StackMap stack:
iload 1
bipush 7
if_icmpne 19
4: aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
if_acmpeq 19
5: aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
dup
astore 6
start local 6 6: if_acmpeq 19
7: aload 2
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 19
8: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 9
aload 3
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
ldc "<init>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: java.lang.Class
StackMap stack:
new java.lang.invoke.MemberName
dup
aload 6
10: aload 3
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
11: aload 3
invokevirtual java.lang.invoke.MemberName.getMethodType:()Ljava/lang/invoke/MethodType;
12: bipush 7
13: invokespecial java.lang.invoke.MemberName.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;B)V
astore 7
start local 7 14: getstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
iload 1
aload 7
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;
astore 7
15: aload 7
ifnonnull 16
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
16: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
aload 7
astore 3
17: aload 6
astore 2
18: 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 7 end local 6 19: 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 7
start local 7 20: aload 0
aload 3
aload 7
aload 5
invokevirtual java.lang.invoke.MethodHandles$Lookup.maybeBindCaller:(Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 7
21: aload 7
aload 3
invokevirtual java.lang.invoke.MethodHandle.setVarargs:(Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
astore 7
22: iload 4
ifeq 24
23: 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/MethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 7
24: StackMap locals: java.lang.invoke.MethodHandles$Lookup int java.lang.Class java.lang.invoke.MemberName int java.lang.Class top java.lang.invoke.MethodHandle
StackMap stack:
aload 7
areturn
end local 7 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 refc Ljava/lang/Class<*>;
0 25 3 method Ljava/lang/invoke/MemberName;
0 25 4 doRestrict Z
0 25 5 callerClass Ljava/lang/Class<*>;
6 19 6 refcAsSuper Ljava/lang/Class<*>;
14 19 7 m2 Ljava/lang/invoke/MemberName;
20 25 7 mh Ljava/lang/invoke/MethodHandle;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (BLjava/lang/Class<*>;Ljava/lang/invoke/MemberName;ZLjava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
refKind
refc
method
doRestrict
callerClass
private java.lang.invoke.MethodHandle fakeMethodHandleInvoke(java.lang.invoke.MemberName);
descriptor: (Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
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.getReturnType:()Ljava/lang/Class;
ldc Ljava/lang/UnsupportedOperationException;
invokestatic java.lang.invoke.MethodHandles.throwException:(Ljava/lang/Class;Ljava/lang/Class;)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 method Ljava/lang/invoke/MemberName;
MethodParameters:
Name Flags
method
private java.lang.invoke.MethodHandle maybeBindCaller(java.lang.invoke.MemberName, java.lang.invoke.MethodHandle, java.lang.Class<?>);
descriptor: (Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
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 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass:Ljava/lang/Class;
astore 4
start local 4 3: aload 0
getfield java.lang.invoke.MethodHandles$Lookup.allowedModes:I
iconst_2
iand
ifne 5
4: aload 3
astore 4
5: StackMap locals: java.lang.Class
StackMap stack:
aload 2
aload 4
invokestatic java.lang.invoke.MethodHandleImpl.bindCaller:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 5
start local 5 6: aload 5
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 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 callerClass Ljava/lang/Class<*>;
3 7 4 hostClass Ljava/lang/Class<*>;
6 7 5 cbmh Ljava/lang/invoke/MethodHandle;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/invoke/MemberName;Ljava/lang/invoke/MethodHandle;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
method
mh
callerClass
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=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 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: aload 2
aload 3
invokestatic java.lang.invoke.DirectMethodHandle.make:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/DirectMethodHandle;
astore 4
start local 4 2: iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindHasReceiver:(B)Z
ifeq 5
3: aload 0
aload 3
invokevirtual java.lang.invoke.MethodHandles$Lookup.restrictProtectedReceiver:(Ljava/lang/invoke/MemberName;)Z
ifeq 5
4: iconst_1
goto 6
StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 5
start local 5 7: iload 5
ifeq 9
8: aload 0
aload 3
aload 4
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/MethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 4
9: StackMap locals: int
StackMap stack:
aload 4
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 10 0 this Ljava/lang/invoke/MethodHandles$Lookup;
0 10 1 refKind B
0 10 2 refc Ljava/lang/Class<*>;
0 10 3 field Ljava/lang/invoke/MemberName;
2 10 4 mh Ljava/lang/invoke/MethodHandle;
7 10 5 doRestrict Z
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 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: 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: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 3
aload 2
invokestatic java.lang.invoke.MethodHandleNatives.isCallerSensitive:(Ljava/lang/invoke/MemberName;)Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: 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 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 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
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=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: aload 4
instanceof java.lang.invoke.MemberName
ifeq 5
2: aload 4
checkcast java.lang.invoke.MemberName
astore 5
3: aload 5
invokevirtual java.lang.invoke.MemberName.isResolved:()Z
ifne 4
new java.lang.InternalError
dup
ldc "unresolved MemberName"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.invoke.MemberName
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 5
aload 3
ifnull 5
aload 3
aload 5
invokevirtual java.lang.invoke.MemberName.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsField:(B)Z
ifeq 10
6: aload 5
ifnull 7
aload 5
goto 8
7: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
aload 4
checkcast java.lang.Class
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
8: StackMap locals:
StackMap stack: java.lang.invoke.MemberName
astore 6
start local 6 9: aload 0
iload 1
aload 2
aload 6
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectField:(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 6 10: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.invoke.MethodHandleNatives.refKindIsMethod:(B)Z
ifeq 18
11: aload 2
ldc Ljava/lang/invoke/MethodHandle;
if_acmpne 14
iload 1
iconst_5
if_icmpne 14
12: aload 0
aload 3
aload 4
checkcast java.lang.invoke.MethodType
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtualForMH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 6
start local 6 13: aload 6
ifnull 14
aload 6
areturn
end local 6 14: StackMap locals:
StackMap stack:
aload 5
ifnull 15
aload 5
goto 16
15: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
aload 4
checkcast java.lang.invoke.MethodType
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
16: StackMap locals:
StackMap stack: java.lang.invoke.MemberName
astore 6
start local 6 17: aload 0
iload 1
aload 2
aload 6
aload 0
getfield java.lang.invoke.MethodHandles$Lookup.lookupClass: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 18: StackMap locals:
StackMap stack:
iload 1
bipush 8
if_icmpne 24
19: getstatic java.lang.invoke.MethodHandles$Lookup.$assertionsDisabled:Z
ifne 20
aload 3
ifnull 20
aload 3
ldc "<init>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals:
StackMap stack:
aload 5
ifnull 21
aload 5
goto 22
21: StackMap locals:
StackMap stack:
aload 0
bipush 8
aload 2
aload 3
aload 4
checkcast java.lang.invoke.MethodType
invokevirtual java.lang.invoke.MethodHandles$Lookup.resolveOrFail:(BLjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MemberName;
22: StackMap locals:
StackMap stack: java.lang.invoke.MemberName
astore 6
start local 6 23: aload 0
aload 2
aload 6
invokevirtual java.lang.invoke.MethodHandles$Lookup.getDirectConstructor:(Ljava/lang/Class;Ljava/lang/invoke/MemberName;)Ljava/lang/invoke/MethodHandle;
areturn
end local 6 24: StackMap locals:
StackMap stack:
new java.lang.ReflectiveOperationException
dup
new java.lang.StringBuilder
dup
ldc "bad MethodHandle constant #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.ReflectiveOperationException.<init>:(Ljava/lang/String;)V
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 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;
1 25 5 resolved Ljava/lang/invoke/MemberName;
9 10 6 field Ljava/lang/invoke/MemberName;
13 14 6 mh Ljava/lang/invoke/MethodHandle;
17 18 6 method Ljava/lang/invoke/MemberName;
23 24 6 ctor 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
}
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