public class java.lang.invoke.MethodHandles
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.lang.invoke.MethodHandles
super_class: java.lang.Object
{
static final java.lang.invoke.MemberName$Factory IMPL_NAMES;
descriptor: Ljava/lang/invoke/MemberName$Factory;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.security.Permission ACCESS_PERMISSION;
descriptor: Ljava/security/Permission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle[] IDENTITY_MHS;
descriptor: [Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle[] ZERO_MHS;
descriptor: [Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$sun$invoke$util$Wrapper;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, 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.$assertionsDisabled:Z
3: invokestatic java.lang.invoke.MemberName.getFactory:()Ljava/lang/invoke/MemberName$Factory;
putstatic java.lang.invoke.MethodHandles.IMPL_NAMES:Ljava/lang/invoke/MemberName$Factory;
4: new java.lang.reflect.ReflectPermission
dup
ldc "suppressAccessChecks"
invokespecial java.lang.reflect.ReflectPermission.<init>:(Ljava/lang/String;)V
5: putstatic java.lang.invoke.MethodHandles.ACCESS_PERMISSION:Ljava/security/Permission;
6: bipush 10
anewarray java.lang.invoke.MethodHandle
putstatic java.lang.invoke.MethodHandles.IDENTITY_MHS:[Ljava/lang/invoke/MethodHandle;
7: bipush 10
anewarray java.lang.invoke.MethodHandle
putstatic java.lang.invoke.MethodHandles.ZERO_MHS:[Ljava/lang/invoke/MethodHandle;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/MethodHandles;
public static java.lang.invoke.MethodHandles$Lookup lookup();
descriptor: ()Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.invoke.MethodHandles$Lookup
dup
invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
jdk.internal.vm.annotation.ForceInline()
private static java.lang.invoke.MethodHandles$Lookup reflected$lookup();
descriptor: ()Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
astore 0
start local 0 1: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnonnull 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.Class
StackMap stack:
new java.lang.invoke.MethodHandles$Lookup
dup
aload 0
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 caller Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
public static java.lang.invoke.MethodHandles$Lookup publicLookup();
descriptor: ()Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.invoke.MethodHandles$Lookup.PUBLIC_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.invoke.MethodHandles$Lookup privateLookupIn(java.lang.Class<?>, java.lang.invoke.MethodHandles$Lookup);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, 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 2
aload 2
getstatic java.lang.invoke.MethodHandles.ACCESS_PERMISSION:Ljava/security/Permission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is a primitive class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isArray:()Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is an array class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 3
start local 3 7: aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 4
start local 4 8: aload 4
aload 3
invokevirtual java.lang.Module.canRead:(Ljava/lang/Module;)Z
ifne 10
9: new java.lang.IllegalAccessException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " does not read "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: java.lang.Module java.lang.Module
StackMap stack:
aload 3
invokevirtual java.lang.Module.isNamed:()Z
ifeq 15
11: aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
astore 5
start local 5 12: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 13
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifeq 13
new java.lang.AssertionError
dup
ldc "unnamed package cannot be in named module"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
13: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 5
aload 4
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;Ljava/lang/Module;)Z
ifne 15
14: new java.lang.IllegalAccessException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " does not open "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to "
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.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
end local 5 15: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
bipush 16
iand
ifne 17
16: new java.lang.IllegalAccessException
dup
ldc "lookup does not have MODULE lookup mode"
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.Module.isNamed:()Z
ifne 21
aload 3
invokevirtual java.lang.Module.isNamed:()Z
ifeq 21
18: invokestatic jdk.internal.module.IllegalAccessLogger.illegalAccessLogger:()Ljdk/internal/module/IllegalAccessLogger;
astore 5
start local 5 19: aload 5
ifnull 21
20: aload 5
aload 1
aload 0
invokevirtual jdk.internal.module.IllegalAccessLogger.logIfOpenedForIllegalAccess:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;)V
end local 5 21: StackMap locals:
StackMap stack:
new java.lang.invoke.MethodHandles$Lookup
dup
aload 0
invokespecial java.lang.invoke.MethodHandles$Lookup.<init>:(Ljava/lang/Class;)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 targetClass Ljava/lang/Class<*>;
0 22 1 lookup Ljava/lang/invoke/MethodHandles$Lookup;
1 22 2 sm Ljava/lang/SecurityManager;
7 22 3 targetModule Ljava/lang/Module;
8 22 4 callerModule Ljava/lang/Module;
12 15 5 pn Ljava/lang/String;
19 21 5 logger Ljdk/internal/module/IllegalAccessLogger;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
targetClass
lookup
public static <T extends java.lang.reflect.Member> T reflectAs(java.lang.Class<T>, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MethodHandle;)Ljava/lang/reflect/Member;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, 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 2
aload 2
getstatic java.lang.invoke.MethodHandles.ACCESS_PERMISSION:Ljava/security/Permission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
astore 3
start local 3 3: aload 3
aload 1
invokevirtual java.lang.invoke.MethodHandles$Lookup.revealDirect:(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandleInfo;
aload 0
aload 3
invokeinterface java.lang.invoke.MethodHandleInfo.reflectAs:(Ljava/lang/Class;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/reflect/Member;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 expected Ljava/lang/Class<TT;>;
0 4 1 target Ljava/lang/invoke/MethodHandle;
1 4 2 smgr Ljava/lang/SecurityManager;
3 4 3 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Signature: <T::Ljava/lang/reflect/Member;>(Ljava/lang/Class<TT;>;Ljava/lang/invoke/MethodHandle;)TT;
MethodParameters:
Name Flags
expected
target
public static java.lang.invoke.MethodHandle arrayConstructor(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isArray:()Z
ifne 2
1: new java.lang.StringBuilder
dup
ldc "not an array class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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;
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
bipush 11
invokestatic java.lang.invoke.MethodHandleImpl.getConstantHandle:(I)Ljava/lang/invoke/MethodHandle;
3: aload 0
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandle.bindTo:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
4: astore 1
start local 1 5: aload 1
aload 1
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
aload 0
invokevirtual java.lang.invoke.MethodType.changeReturnType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 arrayClass Ljava/lang/Class<*>;
5 6 1 ani Ljava/lang/invoke/MethodHandle;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
arrayClass
public static java.lang.invoke.MethodHandle arrayLength(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.invoke.MethodHandleImpl$ArrayAccess.LENGTH:Ljava/lang/invoke/MethodHandleImpl$ArrayAccess;
invokestatic java.lang.invoke.MethodHandleImpl.makeArrayElementAccessor:(Ljava/lang/Class;Ljava/lang/invoke/MethodHandleImpl$ArrayAccess;)Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arrayClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
arrayClass
public static java.lang.invoke.MethodHandle arrayElementGetter(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.invoke.MethodHandleImpl$ArrayAccess.GET:Ljava/lang/invoke/MethodHandleImpl$ArrayAccess;
invokestatic java.lang.invoke.MethodHandleImpl.makeArrayElementAccessor:(Ljava/lang/Class;Ljava/lang/invoke/MethodHandleImpl$ArrayAccess;)Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arrayClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
arrayClass
public static java.lang.invoke.MethodHandle arrayElementSetter(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.invoke.MethodHandleImpl$ArrayAccess.SET:Ljava/lang/invoke/MethodHandleImpl$ArrayAccess;
invokestatic java.lang.invoke.MethodHandleImpl.makeArrayElementAccessor:(Ljava/lang/Class;Ljava/lang/invoke/MethodHandleImpl$ArrayAccess;)Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arrayClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
arrayClass
public static java.lang.invoke.VarHandle arrayElementVarHandle(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.invoke.VarHandles.makeArrayElementHandle:(Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arrayClass Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
arrayClass
public static java.lang.invoke.VarHandle byteArrayViewVarHandle(java.lang.Class<?>, java.nio.ByteOrder);
descriptor: (Ljava/lang/Class;Ljava/nio/ByteOrder;)Ljava/lang/invoke/VarHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, 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
2: aload 1
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 3
iconst_1
goto 4
StackMap locals:
StackMap stack: java.lang.Class
3: iconst_0
4: StackMap locals: java.lang.Class java.nio.ByteOrder
StackMap stack: java.lang.Class int
invokestatic java.lang.invoke.VarHandles.byteArrayViewHandle:(Ljava/lang/Class;Z)Ljava/lang/invoke/VarHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 viewArrayClass Ljava/lang/Class<*>;
0 5 1 byteOrder Ljava/nio/ByteOrder;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;Ljava/nio/ByteOrder;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
viewArrayClass
byteOrder
public static java.lang.invoke.VarHandle byteBufferViewVarHandle(java.lang.Class<?>, java.nio.ByteOrder);
descriptor: (Ljava/lang/Class;Ljava/nio/ByteOrder;)Ljava/lang/invoke/VarHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, 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
2: aload 1
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 3
iconst_1
goto 4
StackMap locals:
StackMap stack: java.lang.Class
3: iconst_0
4: StackMap locals: java.lang.Class java.nio.ByteOrder
StackMap stack: java.lang.Class int
invokestatic java.lang.invoke.VarHandles.makeByteBufferViewHandle:(Ljava/lang/Class;Z)Ljava/lang/invoke/VarHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 viewArrayClass Ljava/lang/Class<*>;
0 5 1 byteOrder Ljava/nio/ByteOrder;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;Ljava/nio/ByteOrder;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
viewArrayClass
byteOrder
public static java.lang.invoke.MethodHandle spreadInvoker(java.lang.invoke.MethodType, int);
descriptor: (Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmple 2
1: StackMap locals:
StackMap stack:
ldc "bad argument count"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
ldc [Ljava/lang/Object;
iload 1
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iload 1
isub
invokevirtual java.lang.invoke.MethodType.asSpreaderType:(Ljava/lang/Class;II)Ljava/lang/invoke/MethodType;
astore 0
3: aload 0
invokevirtual java.lang.invoke.MethodType.invokers:()Ljava/lang/invoke/Invokers;
iload 1
invokevirtual java.lang.invoke.Invokers.spreadInvoker:(I)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type Ljava/lang/invoke/MethodType;
0 4 1 leadingArgCount I
MethodParameters:
Name Flags
type
leadingArgCount
public static java.lang.invoke.MethodHandle exactInvoker(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodType.invokers:()Ljava/lang/invoke/Invokers;
invokevirtual java.lang.invoke.Invokers.exactInvoker:()Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
type
public static java.lang.invoke.MethodHandle invoker(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodType.invokers:()Ljava/lang/invoke/Invokers;
invokevirtual java.lang.invoke.Invokers.genericInvoker:()Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
type
public static java.lang.invoke.MethodHandle varHandleExactInvoker(java.lang.invoke.VarHandle$AccessMode, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/VarHandle$AccessMode;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.invoke.MethodType.invokers:()Ljava/lang/invoke/Invokers;
aload 0
invokevirtual java.lang.invoke.Invokers.varHandleMethodExactInvoker:(Ljava/lang/invoke/VarHandle$AccessMode;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 accessMode Ljava/lang/invoke/VarHandle$AccessMode;
0 1 1 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
accessMode
type
public static java.lang.invoke.MethodHandle varHandleInvoker(java.lang.invoke.VarHandle$AccessMode, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/VarHandle$AccessMode;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.invoke.MethodType.invokers:()Ljava/lang/invoke/Invokers;
aload 0
invokevirtual java.lang.invoke.Invokers.varHandleMethodInvoker:(Ljava/lang/invoke/VarHandle$AccessMode;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 accessMode Ljava/lang/invoke/VarHandle$AccessMode;
0 1 1 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
accessMode
type
static java.lang.invoke.MethodHandle basicInvoker(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodType.invokers:()Ljava/lang/invoke/Invokers;
invokevirtual java.lang.invoke.Invokers.basicInvoker:()Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
type
public static java.lang.invoke.MethodHandle explicitCastArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.lang.invoke.MethodHandles.explicitCastArgumentsChecks:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)V
1: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 2
start local 2 2: aload 2
aload 1
if_acmpne 3
aload 0
areturn
3: StackMap locals: java.lang.invoke.MethodType
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.invoke.MethodType.explicitCastEquivalentToAsType:(Ljava/lang/invoke/MethodType;)Z
ifeq 5
4: aload 0
invokevirtual java.lang.invoke.MethodHandle.asFixedArity:()Ljava/lang/invoke/MethodHandle;
aload 1
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokestatic java.lang.invoke.MethodHandleImpl.makePairwiseConvert:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;Z)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 target Ljava/lang/invoke/MethodHandle;
0 6 1 newType Ljava/lang/invoke/MethodType;
2 6 2 oldType Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
target
newType
private static void explicitCastArgumentsChecks(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
aload 1
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmpeq 2
1: new java.lang.invoke.WrongMethodTypeException
dup
new java.lang.StringBuilder
dup
ldc "cannot explicitly cast "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.invoke.WrongMethodTypeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 target Ljava/lang/invoke/MethodHandle;
0 3 1 newType Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
target
newType
public static java.lang.invoke.MethodHandle permuteArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int[]);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;[I)Ljava/lang/invoke/MethodHandle;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
astore 2
1: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 2: aload 2
aload 1
aload 3
invokestatic java.lang.invoke.MethodHandles.permuteArgumentChecks:([ILjava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;)Z
pop
3: aload 0
invokevirtual java.lang.invoke.MethodHandle.rebind:()Ljava/lang/invoke/BoundMethodHandle;
astore 4
start local 4 4: aload 4
getfield java.lang.invoke.BoundMethodHandle.form:Ljava/lang/invoke/LambdaForm;
astore 5
start local 5 5: aload 1
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 6
start local 6 6: goto 39
start local 7 7: StackMap locals: java.lang.invoke.MethodHandle java.lang.invoke.MethodType int[] java.lang.invoke.MethodType java.lang.invoke.BoundMethodHandle java.lang.invoke.LambdaForm int int
StackMap stack:
iload 7
ifle 26
8: iload 7
istore 8
start local 8 9: iload 8
istore 9
start local 9 10: aload 2
iload 8
iaload
istore 10
start local 10 11: iconst_0
istore 11
start local 11 12: goto 14
start local 12 13: StackMap locals: java.lang.invoke.MethodHandle java.lang.invoke.MethodType int[] java.lang.invoke.MethodType java.lang.invoke.BoundMethodHandle java.lang.invoke.LambdaForm int int int int int int int
StackMap stack:
iload 10
iload 12
if_icmple 14
iconst_1
istore 11
end local 12 14: StackMap locals:
StackMap stack:
aload 2
iinc 9 -1
iload 9
iaload
dup
istore 12
start local 12 15: iload 10
if_icmpne 13
end local 12 16: iload 11
ifne 19
17: iload 9
istore 8
18: iload 7
istore 9
19: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.invoke.LambdaForm.editor:()Ljava/lang/invoke/LambdaFormEditor;
iconst_1
iload 8
iadd
iconst_1
iload 9
iadd
invokevirtual java.lang.invoke.LambdaFormEditor.dupArgumentForm:(II)Ljava/lang/invoke/LambdaForm;
astore 5
20: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 21
aload 2
iload 8
iaload
aload 2
iload 9
iaload
if_icmpeq 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals:
StackMap stack:
aload 3
iload 9
iload 9
iconst_1
iadd
invokevirtual java.lang.invoke.MethodType.dropParameterTypes:(II)Ljava/lang/invoke/MethodType;
astore 3
22: iload 9
iconst_1
iadd
istore 12
start local 12 23: aload 2
iload 12
aload 2
iload 9
aload 2
arraylength
iload 12
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
24: aload 2
aload 2
arraylength
iconst_1
isub
invokestatic java.util.Arrays.copyOf:([II)[I
astore 2
end local 12 end local 11 end local 10 end local 9 end local 8 25: goto 38
26: StackMap locals: java.lang.invoke.MethodHandle java.lang.invoke.MethodType int[] java.lang.invoke.MethodType java.lang.invoke.BoundMethodHandle java.lang.invoke.LambdaForm int int
StackMap stack:
iload 7
iconst_m1
ixor
istore 8
start local 8 27: iconst_0
istore 9
start local 9 28: goto 30
29: StackMap locals: int int
StackMap stack:
iinc 9 1
30: StackMap locals:
StackMap stack:
iload 9
aload 2
arraylength
if_icmpge 31
aload 2
iload 9
iaload
iload 8
if_icmplt 29
31: StackMap locals:
StackMap stack:
aload 1
iload 8
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 10
start local 10 32: aload 5
invokevirtual java.lang.invoke.LambdaForm.editor:()Ljava/lang/invoke/LambdaFormEditor;
iconst_1
iload 9
iadd
aload 10
invokestatic java.lang.invoke.LambdaForm$BasicType.basicType:(Ljava/lang/Class;)Ljava/lang/invoke/LambdaForm$BasicType;
invokevirtual java.lang.invoke.LambdaFormEditor.addArgumentForm:(ILjava/lang/invoke/LambdaForm$BasicType;)Ljava/lang/invoke/LambdaForm;
astore 5
33: aload 3
iload 9
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 10
aastore
invokevirtual java.lang.invoke.MethodType.insertParameterTypes:(I[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 3
34: iload 9
iconst_1
iadd
istore 11
start local 11 35: aload 2
aload 2
arraylength
iconst_1
iadd
invokestatic java.util.Arrays.copyOf:([II)[I
astore 2
36: aload 2
iload 9
aload 2
iload 11
aload 2
arraylength
iload 11
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
37: aload 2
iload 9
iload 8
iastore
end local 11 end local 10 end local 9 end local 8 38: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 39
aload 2
aload 1
aload 3
invokestatic java.lang.invoke.MethodHandles.permuteArgumentChecks:([ILjava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;)Z
ifne 39
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 7 39: StackMap locals:
StackMap stack:
aload 2
iload 6
invokestatic java.lang.invoke.MethodHandles.findFirstDupOrDrop:([II)I
dup
istore 7
start local 7 40: ifne 7
end local 7 41: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 42
aload 2
arraylength
iload 6
if_icmpeq 42
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
42: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.invoke.LambdaForm.editor:()Ljava/lang/invoke/LambdaFormEditor;
iconst_1
aload 2
invokevirtual java.lang.invoke.LambdaFormEditor.permuteArgumentsForm:(I[I)Ljava/lang/invoke/LambdaForm;
astore 5
43: aload 1
aload 4
invokevirtual java.lang.invoke.BoundMethodHandle.type:()Ljava/lang/invoke/MethodType;
if_acmpne 45
aload 5
aload 4
invokevirtual java.lang.invoke.BoundMethodHandle.internalForm:()Ljava/lang/invoke/LambdaForm;
if_acmpne 45
44: aload 4
areturn
45: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
invokevirtual java.lang.invoke.BoundMethodHandle.copyWith:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;)Ljava/lang/invoke/BoundMethodHandle;
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 46 0 target Ljava/lang/invoke/MethodHandle;
0 46 1 newType Ljava/lang/invoke/MethodType;
0 46 2 reorder [I
2 46 3 oldType Ljava/lang/invoke/MethodType;
4 46 4 result Ljava/lang/invoke/BoundMethodHandle;
5 46 5 form Ljava/lang/invoke/LambdaForm;
6 46 6 newArity I
7 39 7 ddIdx I
40 41 7 ddIdx I
9 25 8 srcPos I
10 25 9 dstPos I
11 25 10 dupVal I
12 25 11 killFirst Z
13 14 12 val I
15 16 12 val I
23 25 12 tailPos I
27 38 8 dropVal I
28 38 9 insPos I
32 38 10 ptype Ljava/lang/Class<*>;
35 38 11 tailPos I
MethodParameters:
Name Flags
target
newType
reorder
private static int findFirstDupOrDrop(int[], int);
descriptor: ([II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: iload 1
bipush 63
if_icmpge 22
1: lconst_0
lstore 2
start local 2 2: iconst_0
istore 4
start local 4 3: goto 12
4: StackMap locals: long int
StackMap stack:
aload 0
iload 4
iaload
istore 5
start local 5 5: iload 5
iload 1
if_icmplt 7
6: aload 0
arraylength
ireturn
7: StackMap locals: int
StackMap stack:
lconst_1
iload 5
lshl
lstore 6
start local 6 8: lload 2
lload 6
land
lconst_0
lcmp
ifeq 10
9: iload 4
ireturn
10: StackMap locals: long
StackMap stack:
lload 2
lload 6
lor
lstore 2
end local 6 end local 5 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 0
arraylength
if_icmplt 4
end local 4 13: lload 2
lconst_1
iload 1
lshl
lconst_1
lsub
lcmp
ifne 16
14: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 15
lload 2
ldc -1
lxor
invokestatic java.lang.Long.lowestOneBit:(J)J
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
iload 1
if_icmpeq 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
16: StackMap locals:
StackMap stack:
lload 2
ldc -1
lxor
invokestatic java.lang.Long.lowestOneBit:(J)J
lstore 4
start local 4 17: lload 4
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
istore 6
start local 6 18: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 19
iload 6
iload 1
if_icmple 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals: long int
StackMap stack:
iload 6
iload 1
if_icmpne 21
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iload 6
iconst_m1
ixor
ireturn
end local 6 end local 4 end local 2 22: StackMap locals:
StackMap stack:
new java.util.BitSet
dup
iload 1
invokespecial java.util.BitSet.<init>:(I)V
astore 2
start local 2 23: iconst_0
istore 3
start local 3 24: goto 32
25: StackMap locals: java.util.BitSet int
StackMap stack:
aload 0
iload 3
iaload
istore 4
start local 4 26: iload 4
iload 1
if_icmplt 28
27: aload 0
arraylength
ireturn
28: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokevirtual java.util.BitSet.get:(I)Z
ifeq 30
29: iload 3
ireturn
30: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual java.util.BitSet.set:(I)V
end local 4 31: iinc 3 1
StackMap locals:
StackMap stack:
32: iload 3
aload 0
arraylength
if_icmplt 25
end local 3 33: aload 2
iconst_0
invokevirtual java.util.BitSet.nextClearBit:(I)I
istore 3
start local 3 34: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 35
iload 3
iload 1
if_icmple 35
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
35: StackMap locals:
StackMap stack:
iload 3
iload 1
if_icmpne 37
36: iconst_0
ireturn
37: StackMap locals:
StackMap stack:
iload 3
iconst_m1
ixor
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 reorder [I
0 38 1 newArity I
2 22 2 mask J
3 13 4 i I
5 11 5 arg I
8 11 6 bit J
17 22 4 zeroBit J
18 22 6 zeroPos I
23 38 2 mask Ljava/util/BitSet;
24 33 3 i I
26 31 4 arg I
34 38 3 zeroPos I
MethodParameters:
Name Flags
reorder
newArity
private static boolean permuteArgumentChecks(int[], java.lang.invoke.MethodType, java.lang.invoke.MethodType);
descriptor: ([ILjava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
if_acmpeq 4
1: ldc "return types do not match"
2: aload 2
aload 1
3: invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
4: StackMap locals:
StackMap stack:
aload 0
arraylength
aload 2
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmpne 21
5: aload 1
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 19
9: StackMap locals: int int int
StackMap stack:
aload 0
iload 5
iaload
istore 6
start local 6 10: iload 6
iflt 11
iload 6
iload 3
if_icmplt 12
11: StackMap locals: int
StackMap stack:
iconst_1
istore 4
goto 20
12: StackMap locals:
StackMap stack:
aload 1
iload 6
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 7
start local 7 13: aload 2
iload 5
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 8
start local 8 14: aload 7
aload 8
if_acmpeq 18
15: ldc "parameter types do not match after reorder"
16: aload 2
aload 1
17: invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
end local 8 end local 7 end local 6 18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 0
arraylength
if_icmplt 9
end local 5 20: StackMap locals:
StackMap stack:
iload 4
ifne 21
iconst_1
ireturn
end local 4 end local 3 21: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "bad reorder array: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokestatic java.util.Arrays.toString:([I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 reorder [I
0 22 1 newType Ljava/lang/invoke/MethodType;
0 22 2 oldType Ljava/lang/invoke/MethodType;
6 21 3 limit I
7 21 4 bad Z
8 20 5 j I
10 18 6 i I
13 18 7 src Ljava/lang/Class<*>;
14 18 8 dst Ljava/lang/Class<*>;
MethodParameters:
Name Flags
reorder
newType
oldType
public static java.lang.invoke.MethodHandle constant(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 8
1: aload 0
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 3
2: ldc "void type"
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
astore 2
start local 2 4: aload 2
aload 1
aload 0
invokevirtual sun.invoke.util.Wrapper.convert:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 1
5: aload 2
invokevirtual sun.invoke.util.Wrapper.zero:()Ljava/lang/Object;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 2
aload 0
invokestatic java.lang.invoke.MethodHandles.zero:(Lsun/invoke/util/Wrapper;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
7: StackMap locals: sun.invoke.util.Wrapper
StackMap stack:
aload 0
invokestatic java.lang.invoke.MethodHandles.identity:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.invoke.MethodHandles.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 8: StackMap locals:
StackMap stack:
aload 1
ifnonnull 10
9: getstatic sun.invoke.util.Wrapper.OBJECT:Lsun/invoke/util/Wrapper;
aload 0
invokestatic java.lang.invoke.MethodHandles.zero:(Lsun/invoke/util/Wrapper;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
10: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.invoke.MethodHandles.identity:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
aload 1
invokevirtual java.lang.invoke.MethodHandle.bindTo:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 type Ljava/lang/Class<*>;
0 11 1 value Ljava/lang/Object;
4 8 2 w Lsun/invoke/util/Wrapper;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
type
value
public static java.lang.invoke.MethodHandle identity(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 1
aload 0
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
goto 2
StackMap locals:
StackMap stack:
1: getstatic sun.invoke.util.Wrapper.OBJECT:Lsun/invoke/util/Wrapper;
StackMap locals:
StackMap stack: sun.invoke.util.Wrapper
2: astore 1
start local 1 3: aload 1
invokevirtual sun.invoke.util.Wrapper.ordinal:()I
istore 2
start local 2 4: getstatic java.lang.invoke.MethodHandles.IDENTITY_MHS:[Ljava/lang/invoke/MethodHandle;
iload 2
aaload
astore 3
start local 3 5: aload 3
ifnonnull 7
6: getstatic java.lang.invoke.MethodHandles.IDENTITY_MHS:[Ljava/lang/invoke/MethodHandle;
iload 2
aload 1
invokevirtual sun.invoke.util.Wrapper.primitiveType:()Ljava/lang/Class;
invokestatic java.lang.invoke.MethodHandles.makeIdentity:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
invokestatic java.lang.invoke.MethodHandles.setCachedMethodHandle:([Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 3
7: StackMap locals: sun.invoke.util.Wrapper int java.lang.invoke.MethodHandle
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 0
if_acmpne 9
8: aload 3
areturn
9: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 10
aload 1
getstatic sun.invoke.util.Wrapper.OBJECT:Lsun/invoke/util/Wrapper;
if_acmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.invoke.MethodHandles.makeIdentity:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 type Ljava/lang/Class<*>;
3 11 1 btw Lsun/invoke/util/Wrapper;
4 11 2 pos I
5 11 3 ident Ljava/lang/invoke/MethodHandle;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
type
public static java.lang.invoke.MethodHandle zero(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 2
aload 0
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
aload 0
invokestatic java.lang.invoke.MethodHandles.zero:(Lsun/invoke/util/Wrapper;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
goto 3
StackMap locals:
StackMap stack:
2: getstatic sun.invoke.util.Wrapper.OBJECT:Lsun/invoke/util/Wrapper;
aload 0
invokestatic java.lang.invoke.MethodHandles.zero:(Lsun/invoke/util/Wrapper;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
type
private static java.lang.invoke.MethodHandle identityOrVoid(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 1
aload 0
invokestatic java.lang.invoke.MethodHandles.zero:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic java.lang.invoke.MethodHandles.identity:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
type
public static java.lang.invoke.MethodHandle empty(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
invokestatic java.lang.invoke.MethodHandles.zero:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
iconst_0
aload 0
invokevirtual java.lang.invoke.MethodType.parameterList:()Ljava/util/List;
invokestatic java.lang.invoke.MethodHandles.dropArguments:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
type
private static java.lang.invoke.MethodHandle makeIdentity(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
aload 0
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 1
start local 1 1: aload 0
invokestatic java.lang.invoke.LambdaForm$BasicType.basicType:(Ljava/lang/Class;)Ljava/lang/invoke/LambdaForm$BasicType;
invokestatic java.lang.invoke.LambdaForm.identityForm:(Ljava/lang/invoke/LambdaForm$BasicType;)Ljava/lang/invoke/LambdaForm;
astore 2
start local 2 2: aload 1
aload 2
getstatic java.lang.invoke.MethodHandleImpl$Intrinsic.IDENTITY:Ljava/lang/invoke/MethodHandleImpl$Intrinsic;
invokestatic java.lang.invoke.MethodHandleImpl.makeIntrinsic:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;Ljava/lang/invoke/MethodHandleImpl$Intrinsic;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ptype Ljava/lang/Class<*>;
1 3 1 mtype Ljava/lang/invoke/MethodType;
2 3 2 lform Ljava/lang/invoke/LambdaForm;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
ptype
private static java.lang.invoke.MethodHandle zero(sun.invoke.util.Wrapper, java.lang.Class<?>);
descriptor: (Lsun/invoke/util/Wrapper;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.invoke.util.Wrapper.ordinal:()I
istore 2
start local 2 1: getstatic java.lang.invoke.MethodHandles.ZERO_MHS:[Ljava/lang/invoke/MethodHandle;
iload 2
aaload
astore 3
start local 3 2: aload 3
ifnonnull 4
3: getstatic java.lang.invoke.MethodHandles.ZERO_MHS:[Ljava/lang/invoke/MethodHandle;
iload 2
aload 0
invokevirtual sun.invoke.util.Wrapper.primitiveType:()Ljava/lang/Class;
invokestatic java.lang.invoke.MethodHandles.makeZero:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
invokestatic java.lang.invoke.MethodHandles.setCachedMethodHandle:([Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 3
4: StackMap locals: int java.lang.invoke.MethodHandle
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 1
if_acmpne 6
5: aload 3
areturn
6: StackMap locals:
StackMap stack:
getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 7
aload 0
getstatic sun.invoke.util.Wrapper.OBJECT:Lsun/invoke/util/Wrapper;
if_acmpeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.invoke.MethodHandles.makeZero:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 btw Lsun/invoke/util/Wrapper;
0 8 1 rtype Ljava/lang/Class<*>;
1 8 2 pos I
2 8 3 zero Ljava/lang/invoke/MethodHandle;
Signature: (Lsun/invoke/util/Wrapper;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
btw
rtype
private static java.lang.invoke.MethodHandle makeZero(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 1
start local 1 1: aload 0
invokestatic java.lang.invoke.LambdaForm$BasicType.basicType:(Ljava/lang/Class;)Ljava/lang/invoke/LambdaForm$BasicType;
invokestatic java.lang.invoke.LambdaForm.zeroForm:(Ljava/lang/invoke/LambdaForm$BasicType;)Ljava/lang/invoke/LambdaForm;
astore 2
start local 2 2: aload 1
aload 2
getstatic java.lang.invoke.MethodHandleImpl$Intrinsic.ZERO:Ljava/lang/invoke/MethodHandleImpl$Intrinsic;
invokestatic java.lang.invoke.MethodHandleImpl.makeIntrinsic:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;Ljava/lang/invoke/MethodHandleImpl$Intrinsic;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 rtype Ljava/lang/Class<*>;
1 3 1 mtype Ljava/lang/invoke/MethodType;
2 3 2 lform Ljava/lang/invoke/LambdaForm;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
rtype
private static synchronized java.lang.invoke.MethodHandle setCachedMethodHandle(java.lang.invoke.MethodHandle[], int, java.lang.invoke.MethodHandle);
descriptor: ([Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aaload
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
areturn
2: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 0
iload 1
aload 2
dup_x2
aastore
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cache [Ljava/lang/invoke/MethodHandle;
0 3 1 pos I
0 3 2 value Ljava/lang/invoke/MethodHandle;
1 3 3 prev Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cache
pos
value
public static java.lang.invoke.MethodHandle insertArguments(java.lang.invoke.MethodHandle, int, java.lang.Object[]);
descriptor: (Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
istore 3
start local 3 1: aload 0
iload 3
iload 1
invokestatic java.lang.invoke.MethodHandles.insertArgumentsChecks:(Ljava/lang/invoke/MethodHandle;II)[Ljava/lang/Class;
astore 4
start local 4 2: iload 3
ifne 3
aload 0
areturn
3: StackMap locals: int java.lang.Class[]
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandle.rebind:()Ljava/lang/invoke/BoundMethodHandle;
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 14
6: StackMap locals: java.lang.invoke.BoundMethodHandle int
StackMap stack:
aload 2
iload 6
aaload
astore 7
start local 7 7: aload 4
iload 1
iload 6
iadd
aaload
astore 8
start local 8 8: aload 8
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 11
9: aload 5
iload 1
aload 8
aload 7
invokestatic java.lang.invoke.MethodHandles.insertArgumentPrimitive:(Ljava/lang/invoke/BoundMethodHandle;ILjava/lang/Class;Ljava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;
astore 5
10: goto 13
11: StackMap locals: java.lang.Object java.lang.Class
StackMap stack:
aload 8
aload 7
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
12: aload 5
iload 1
aload 7
invokevirtual java.lang.invoke.BoundMethodHandle.bindArgumentL:(ILjava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;
astore 5
end local 8 end local 7 13: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 3
if_icmplt 6
end local 6 15: 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 16 0 target Ljava/lang/invoke/MethodHandle;
0 16 1 pos I
0 16 2 values [Ljava/lang/Object;
1 16 3 insCount I
2 16 4 ptypes [Ljava/lang/Class;
4 16 5 result Ljava/lang/invoke/BoundMethodHandle;
5 15 6 i I
7 13 7 value Ljava/lang/Object;
8 13 8 ptype Ljava/lang/Class<*>;
MethodParameters:
Name Flags
target
pos
values
private static java.lang.invoke.BoundMethodHandle insertArgumentPrimitive(java.lang.invoke.BoundMethodHandle, int, java.lang.Class<?>, );
descriptor: (Ljava/lang/invoke/BoundMethodHandle;ILjava/lang/Class;Ljava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
astore 4
start local 4 1: aload 4
aload 3
aload 2
invokevirtual sun.invoke.util.Wrapper.convert:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 3
2: invokestatic java.lang.invoke.MethodHandles.$SWITCH_TABLE$sun$invoke$util$Wrapper:()[I
aload 4
invokevirtual sun.invoke.util.Wrapper.ordinal:()I
iaload
tableswitch { // 5 - 8
5: 3
6: 4
7: 5
8: 6
default: 7
}
3: StackMap locals: sun.invoke.util.Wrapper
StackMap stack:
aload 0
iload 1
aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.lang.invoke.BoundMethodHandle.bindArgumentI:(II)Ljava/lang/invoke/BoundMethodHandle;
areturn
4: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokevirtual java.lang.invoke.BoundMethodHandle.bindArgumentJ:(IJ)Ljava/lang/invoke/BoundMethodHandle;
areturn
5: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokevirtual java.lang.invoke.BoundMethodHandle.bindArgumentF:(IF)Ljava/lang/invoke/BoundMethodHandle;
areturn
6: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokevirtual java.lang.invoke.BoundMethodHandle.bindArgumentD:(ID)Ljava/lang/invoke/BoundMethodHandle;
areturn
7: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
invokestatic sun.invoke.util.ValueConversions.widenSubword:(Ljava/lang/Object;)I
invokevirtual java.lang.invoke.BoundMethodHandle.bindArgumentI:(II)Ljava/lang/invoke/BoundMethodHandle;
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 result Ljava/lang/invoke/BoundMethodHandle;
0 8 1 pos I
0 8 2 ptype Ljava/lang/Class<*>;
0 8 3 value Ljava/lang/Object;
1 8 4 w Lsun/invoke/util/Wrapper;
Signature: (Ljava/lang/invoke/BoundMethodHandle;ILjava/lang/Class<*>;Ljava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;
MethodParameters:
Name Flags
result
pos
ptype
value
private static java.lang.Class<?>[] insertArgumentsChecks(java.lang.invoke.MethodHandle, int, int);
descriptor: (Ljava/lang/invoke/MethodHandle;II)[Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 4
start local 4 2: iload 4
iload 1
isub
istore 5
start local 5 3: iload 5
ifge 5
4: ldc "too many values to insert"
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
5: StackMap locals: java.lang.invoke.MethodType int int
StackMap stack:
iload 2
iflt 6
iload 2
iload 5
if_icmple 7
6: StackMap locals:
StackMap stack:
ldc "no argument type to append"
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MethodType.ptypes:()[Ljava/lang/Class;
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 8 0 target Ljava/lang/invoke/MethodHandle;
0 8 1 insCount I
0 8 2 pos I
1 8 3 oldType Ljava/lang/invoke/MethodType;
2 8 4 outargs I
3 8 5 inargs I
Exceptions:
throws java.lang.RuntimeException
Signature: (Ljava/lang/invoke/MethodHandle;II)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
target
insCount
pos
public static java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokeinterface java.util.List.toArray:()[Ljava/lang/Object;
invokestatic java.lang.invoke.MethodHandles.copyTypes:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.lang.invoke.MethodHandles.dropArguments0:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 target Ljava/lang/invoke/MethodHandle;
0 1 1 pos I
0 1 2 valueTypes Ljava/util/List<Ljava/lang/Class<*>;>;
Signature: (Ljava/lang/invoke/MethodHandle;ILjava/util/List<Ljava/lang/Class<*>;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
pos
valueTypes
private static java.util.List<java.lang.Class<?>> copyTypes([]);
descriptor: ([Ljava/lang/Object;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
arraylength
ldc [Ljava/lang/Class;
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
checkcast java.lang.Class[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [Ljava/lang/Object;
Signature: ([Ljava/lang/Object;)Ljava/util/List<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
array
private static java.lang.invoke.MethodHandle dropArguments0(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 3
iload 1
aload 2
invokestatic java.lang.invoke.MethodHandles.dropArgumentChecks:(Ljava/lang/invoke/MethodType;ILjava/util/List;)I
istore 4
start local 4 2: aload 3
iload 1
aload 2
invokevirtual java.lang.invoke.MethodType.insertParameterTypes:(ILjava/util/List;)Ljava/lang/invoke/MethodType;
astore 5
start local 5 3: iload 4
ifne 4
aload 0
areturn
4: StackMap locals: java.lang.invoke.MethodType int java.lang.invoke.MethodType
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandle.rebind:()Ljava/lang/invoke/BoundMethodHandle;
astore 6
start local 6 5: aload 6
getfield java.lang.invoke.BoundMethodHandle.form:Ljava/lang/invoke/LambdaForm;
astore 7
start local 7 6: iconst_1
iload 1
iadd
istore 8
start local 8 7: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 10
StackMap locals: java.lang.invoke.MethodHandle int java.util.List java.lang.invoke.MethodType int java.lang.invoke.MethodType java.lang.invoke.BoundMethodHandle java.lang.invoke.LambdaForm int top java.util.Iterator
StackMap stack:
8: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 9
start local 9 9: aload 7
invokevirtual java.lang.invoke.LambdaForm.editor:()Ljava/lang/invoke/LambdaFormEditor;
iload 8
iinc 8 1
aload 9
invokestatic java.lang.invoke.LambdaForm$BasicType.basicType:(Ljava/lang/Class;)Ljava/lang/invoke/LambdaForm$BasicType;
invokevirtual java.lang.invoke.LambdaFormEditor.addArgumentForm:(ILjava/lang/invoke/LambdaForm$BasicType;)Ljava/lang/invoke/LambdaForm;
astore 7
end local 9 10: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: aload 6
aload 5
aload 7
invokevirtual java.lang.invoke.BoundMethodHandle.copyWith:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;)Ljava/lang/invoke/BoundMethodHandle;
astore 6
12: aload 6
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 target Ljava/lang/invoke/MethodHandle;
0 13 1 pos I
0 13 2 valueTypes Ljava/util/List<Ljava/lang/Class<*>;>;
1 13 3 oldType Ljava/lang/invoke/MethodType;
2 13 4 dropped I
3 13 5 newType Ljava/lang/invoke/MethodType;
5 13 6 result Ljava/lang/invoke/BoundMethodHandle;
6 13 7 lform Ljava/lang/invoke/LambdaForm;
7 13 8 insertFormArg I
9 10 9 ptype Ljava/lang/Class<*>;
Signature: (Ljava/lang/invoke/MethodHandle;ILjava/util/List<Ljava/lang/Class<*>;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
pos
valueTypes
private static int dropArgumentChecks(java.lang.invoke.MethodType, int, java.util.List<java.lang.Class<?>>);
descriptor: (Ljava/lang/invoke/MethodType;ILjava/util/List;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.List.size:()I
istore 3
start local 3 1: iload 3
invokestatic java.lang.invoke.MethodType.checkSlotCount:(I)V
2: aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 4
start local 4 3: iload 4
iload 3
iadd
istore 5
start local 5 4: iload 1
iflt 5
iload 1
iload 4
if_icmple 8
5: StackMap locals: int int int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "no argument type to remove"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 2
aastore
dup
iconst_3
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
8: StackMap locals:
StackMap stack:
iload 3
ireturn
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 oldType Ljava/lang/invoke/MethodType;
0 9 1 pos I
0 9 2 valueTypes Ljava/util/List<Ljava/lang/Class<*>;>;
1 9 3 dropped I
3 9 4 outargs I
4 9 5 inargs I
Signature: (Ljava/lang/invoke/MethodType;ILjava/util/List<Ljava/lang/Class<*>;>;)I
MethodParameters:
Name Flags
oldType
pos
valueTypes
public static java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, java.lang.Class<?>[]);
descriptor: (Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic java.lang.invoke.MethodHandles.copyTypes:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.lang.invoke.MethodHandles.dropArguments0:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 target Ljava/lang/invoke/MethodHandle;
0 1 1 pos I
0 1 2 valueTypes [Ljava/lang/Class;
Signature: (Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
pos
valueTypes
private static java.lang.invoke.MethodHandle dropArgumentsToMatch(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>, int, boolean);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/util/List;IZ)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokeinterface java.util.List.toArray:()[Ljava/lang/Object;
invokestatic java.lang.invoke.MethodHandles.copyTypes:([Ljava/lang/Object;)Ljava/util/List;
astore 2
1: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterList:()Ljava/util/List;
astore 5
start local 5 2: aload 5
invokeinterface java.util.List.size:()I
istore 6
start local 6 3: iload 1
ifeq 8
4: iload 1
iflt 5
iload 1
iload 6
if_icmple 6
5: StackMap locals: java.util.List int
StackMap stack:
ldc "illegal skip"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
6: StackMap locals:
StackMap stack:
aload 5
iload 1
iload 6
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 5
7: iload 6
iload 1
isub
istore 6
8: StackMap locals:
StackMap stack:
aload 2
astore 7
start local 7 9: aload 7
invokeinterface java.util.List.size:()I
istore 8
start local 8 10: iload 3
ifeq 16
11: iload 3
iflt 12
iload 3
iload 8
if_icmple 13
12: StackMap locals: java.util.List int
StackMap stack:
ldc "illegal pos"
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
13: StackMap locals:
StackMap stack:
aload 7
iload 3
iload 8
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 7
14: iload 8
iload 3
isub
istore 8
15: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 16
aload 7
invokeinterface java.util.List.size:()I
iload 8
if_icmpeq 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
iload 6
iload 8
if_icmpgt 17
aload 5
aload 7
iconst_0
iload 6
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 20
17: StackMap locals:
StackMap stack:
iload 4
ifeq 19
18: aconst_null
areturn
19: StackMap locals:
StackMap stack:
ldc "argument lists do not match"
aload 5
aload 2
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
20: StackMap locals:
StackMap stack:
aload 7
iload 6
iload 8
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 7
21: iload 8
iload 6
isub
istore 8
22: getstatic java.lang.invoke.MethodHandles.$assertionsDisabled:Z
ifne 23
aload 7
invokeinterface java.util.List.size:()I
iload 8
if_icmpeq 23
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
23: StackMap locals:
StackMap stack:
aload 0
astore 9
start local 9 24: iload 8
ifle 26
25: aload 9
iload 1
iload 6
iadd
aload 7
invokestatic java.lang.invoke.MethodHandles.dropArguments0:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
astore 9
26: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
iload 3
ifle 28
27: aload 9
iload 1
aload 2
iconst_0
iload 3
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokestatic java.lang.invoke.MethodHandles.dropArguments0:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
astore 9
28: StackMap locals:
StackMap stack:
aload 9
areturn
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 29 0 target Ljava/lang/invoke/MethodHandle;
0 29 1 skip I
0 29 2 newTypes Ljava/util/List<Ljava/lang/Class<*>;>;
0 29 3 pos I
0 29 4 nullOnFailure Z
2 29 5 oldTypes Ljava/util/List<Ljava/lang/Class<*>;>;
3 29 6 match I
9 29 7 addTypes Ljava/util/List<Ljava/lang/Class<*>;>;
10 29 8 add I
24 29 9 adapter Ljava/lang/invoke/MethodHandle;
Signature: (Ljava/lang/invoke/MethodHandle;ILjava/util/List<Ljava/lang/Class<*>;>;IZ)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
skip
newTypes
pos
nullOnFailure
public static java.lang.invoke.MethodHandle dropArgumentsToMatch(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>, int);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/util/List;I)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
iload 1
aload 2
iload 3
iconst_0
invokestatic java.lang.invoke.MethodHandles.dropArgumentsToMatch:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;IZ)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 target Ljava/lang/invoke/MethodHandle;
0 3 1 skip I
0 3 2 newTypes Ljava/util/List<Ljava/lang/Class<*>;>;
0 3 3 pos I
Signature: (Ljava/lang/invoke/MethodHandle;ILjava/util/List<Ljava/lang/Class<*>;>;I)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
skip
newTypes
pos
public static java.lang.invoke.MethodHandle filterArguments(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle[]);
descriptor: (Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic java.lang.invoke.MethodHandles.filterArgumentsCheckArity:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)V
1: aload 0
astore 3
start local 3 2: aload 2
arraylength
iconst_1
isub
istore 4
start local 4 3: goto 8
4: StackMap locals: java.lang.invoke.MethodHandle int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 5: aload 5
ifnonnull 6
goto 7
6: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 3
iload 1
iload 4
iadd
aload 5
invokestatic java.lang.invoke.MethodHandles.filterArgument:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 3
end local 5 7: StackMap locals:
StackMap stack:
iinc 4 -1
StackMap locals:
StackMap stack:
8: iload 4
ifge 4
end local 4 9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 target Ljava/lang/invoke/MethodHandle;
0 10 1 pos I
0 10 2 filters [Ljava/lang/invoke/MethodHandle;
2 10 3 adapter Ljava/lang/invoke/MethodHandle;
3 9 4 i I
5 7 5 filter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
pos
filters
static java.lang.invoke.MethodHandle filterArgument(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic java.lang.invoke.MethodHandles.filterArgumentChecks:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)V
1: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 2: aload 2
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 4
start local 4 3: aload 0
invokevirtual java.lang.invoke.MethodHandle.rebind:()Ljava/lang/invoke/BoundMethodHandle;
astore 5
start local 5 4: aload 4
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 6
start local 6 5: aload 5
invokevirtual java.lang.invoke.BoundMethodHandle.editor:()Ljava/lang/invoke/LambdaFormEditor;
iconst_1
iload 1
iadd
aload 6
invokestatic java.lang.invoke.LambdaForm$BasicType.basicType:(Ljava/lang/Class;)Ljava/lang/invoke/LambdaForm$BasicType;
invokevirtual java.lang.invoke.LambdaFormEditor.filterArgumentForm:(ILjava/lang/invoke/LambdaForm$BasicType;)Ljava/lang/invoke/LambdaForm;
astore 7
start local 7 6: aload 3
iload 1
aload 6
invokevirtual java.lang.invoke.MethodType.changeParameterType:(ILjava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 8
start local 8 7: aload 5
aload 8
aload 7
aload 2
invokevirtual java.lang.invoke.BoundMethodHandle.copyWithExtendL:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;Ljava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;
astore 5
8: aload 5
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 target Ljava/lang/invoke/MethodHandle;
0 9 1 pos I
0 9 2 filter Ljava/lang/invoke/MethodHandle;
2 9 3 targetType Ljava/lang/invoke/MethodType;
3 9 4 filterType Ljava/lang/invoke/MethodType;
4 9 5 result Ljava/lang/invoke/BoundMethodHandle;
5 9 6 newParamType Ljava/lang/Class<*>;
6 9 7 lform Ljava/lang/invoke/LambdaForm;
7 9 8 newType Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
target
pos
filter
private static void filterArgumentsCheckArity(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle[]);
descriptor: (Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 4
start local 4 2: iload 1
aload 2
arraylength
iadd
iload 4
if_icmple 4
3: ldc "too many filters"
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
4: StackMap locals: java.lang.invoke.MethodType int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 target Ljava/lang/invoke/MethodHandle;
0 5 1 pos I
0 5 2 filters [Ljava/lang/invoke/MethodHandle;
1 5 3 targetType Ljava/lang/invoke/MethodType;
2 5 4 maxPos I
MethodParameters:
Name Flags
target
pos
filters
private static void filterArgumentChecks(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 2
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 4
start local 4 2: aload 4
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
if_icmpne 4
3: aload 4
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 3
iload 1
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
if_acmpeq 5
4: StackMap locals: java.lang.invoke.MethodType java.lang.invoke.MethodType
StackMap stack:
ldc "target and filter types do not match"
aload 3
aload 4
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
5: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 target Ljava/lang/invoke/MethodHandle;
0 6 1 pos I
0 6 2 filter Ljava/lang/invoke/MethodHandle;
1 6 3 targetType Ljava/lang/invoke/MethodType;
2 6 4 filterType Ljava/lang/invoke/MethodType;
Exceptions:
throws java.lang.RuntimeException
MethodParameters:
Name Flags
target
pos
filter
public static java.lang.invoke.MethodHandle collectArguments(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic java.lang.invoke.MethodHandles.collectArgumentsChecks:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 2
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 4
start local 4 2: aload 0
invokevirtual java.lang.invoke.MethodHandle.rebind:()Ljava/lang/invoke/BoundMethodHandle;
astore 5
start local 5 3: aload 4
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 7
aload 2
invokevirtual java.lang.invoke.MethodHandle.intrinsicName:()Ljava/lang/invoke/MethodHandleImpl$Intrinsic;
getstatic java.lang.invoke.MethodHandleImpl$Intrinsic.NEW_ARRAY:Ljava/lang/invoke/MethodHandleImpl$Intrinsic;
if_acmpne 7
4: aload 5
invokevirtual java.lang.invoke.BoundMethodHandle.editor:()Ljava/lang/invoke/LambdaFormEditor;
iconst_1
iload 1
iadd
aload 2
invokevirtual java.lang.invoke.LambdaFormEditor.collectArgumentArrayForm:(ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/LambdaForm;
astore 6
start local 6 5: aload 6
ifnull 7
6: aload 5
aload 3
aload 6
invokevirtual java.lang.invoke.BoundMethodHandle.copyWith:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;)Ljava/lang/invoke/BoundMethodHandle;
areturn
end local 6 7: StackMap locals: java.lang.invoke.MethodType java.lang.invoke.MethodType java.lang.invoke.BoundMethodHandle
StackMap stack:
aload 5
invokevirtual java.lang.invoke.BoundMethodHandle.editor:()Ljava/lang/invoke/LambdaFormEditor;
iconst_1
iload 1
iadd
aload 4
invokevirtual java.lang.invoke.MethodType.basicType:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.LambdaFormEditor.collectArgumentsForm:(ILjava/lang/invoke/MethodType;)Ljava/lang/invoke/LambdaForm;
astore 6
start local 6 8: aload 5
aload 3
aload 6
aload 2
invokevirtual java.lang.invoke.BoundMethodHandle.copyWithExtendL:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/LambdaForm;Ljava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;
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 9 0 target Ljava/lang/invoke/MethodHandle;
0 9 1 pos I
0 9 2 filter Ljava/lang/invoke/MethodHandle;
1 9 3 newType Ljava/lang/invoke/MethodType;
2 9 4 collectorType Ljava/lang/invoke/MethodType;
3 9 5 result Ljava/lang/invoke/BoundMethodHandle;
5 7 6 lform Ljava/lang/invoke/LambdaForm;
8 9 6 lform Ljava/lang/invoke/LambdaForm;
MethodParameters:
Name Flags
target
pos
filter
private static java.lang.invoke.MethodType collectArgumentsChecks(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 2
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 4
start local 4 2: aload 4
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
astore 5
start local 5 3: aload 4
invokevirtual java.lang.invoke.MethodType.parameterList:()Ljava/util/List;
astore 6
start local 6 4: aload 5
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 6
5: aload 3
iload 1
aload 6
invokevirtual java.lang.invoke.MethodType.insertParameterTypes:(ILjava/util/List;)Ljava/lang/invoke/MethodType;
areturn
6: StackMap locals: java.lang.invoke.MethodHandle int java.lang.invoke.MethodHandle java.lang.invoke.MethodType java.lang.invoke.MethodType java.lang.Class java.util.List
StackMap stack:
aload 5
aload 3
iload 1
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
if_acmpeq 8
7: ldc "target and filter types do not match"
aload 3
aload 4
invokestatic java.lang.invoke.MethodHandleStatics.newIllegalArgumentException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
8: StackMap locals:
StackMap stack:
aload 3
iload 1
iload 1
iconst_1
iadd
invokevirtual java.lang.invoke.MethodType.dropParameterTypes:(II)Ljava/lang/invoke/MethodType;
iload 1
aload 6
invokevirtual java.lang.invoke.MethodType.insertParameterTypes:(ILjava/util/List;)Ljava/lang/invoke/MethodType;
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 9 0 target Ljava/lang/invoke/MethodHandle;
0 9 1 pos I
0 9 2 filter Ljava/lang/invoke/MethodHandle;
1 9 3 targetType Ljava/lang/invoke/MethodType;
2 9 4 filterType Ljava/lang/invoke/MethodType;
3 9 5 rtype Ljava/lang/Class<*>;
4 9 6 filterArgs Ljava/util/List<Ljava/lang/Class<*>;>;
Exceptions:
throws java.lang.RuntimeException
MethodParameters:
Name Flags
target
pos
filter
public static java.lang.invoke.MethodHandle filterReturnValue(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 2: aload 2
aload 3
invokestatic java.lang.invoke.MethodHandles.filterReturnValueChecks:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;)V
3: aload 0
invokevirtual java.lang.invoke.MethodHandle.rebind:()Ljava/lang/invoke/BoundMethodHandle;
astore 4
start local 4 4: aload 3
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
invokestatic java.lang.invoke.LambdaForm$BasicType.basicType:(Ljava/lang/Class;)Ljava/lang/invoke/LambdaForm$BasicType;
astore 5
start local 5 5: aload