class jdk.dynalink.beans.OverloadedDynamicMethod extends jdk.dynalink.beans.DynamicMethod
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.dynalink.beans.OverloadedDynamicMethod
super_class: jdk.dynalink.beans.DynamicMethod
{
private final java.util.LinkedList<jdk.dynalink.beans.SingleDynamicMethod> methods;
descriptor: Ljava/util/LinkedList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedList<Ljdk/dynalink/beans/SingleDynamicMethod;>;
private static final java.security.AccessControlContext GET_CALL_SITE_CLASS_LOADER_CONTEXT;
descriptor: Ljava/security/AccessControlContext;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.Class<?>> PRIMITIVE_WRAPPER_TYPES;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
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 Ljdk/dynalink/beans/OverloadedDynamicMethod;
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 jdk.dynalink.beans.OverloadedDynamicMethod.$assertionsDisabled:Z
3: iconst_2
anewarray java.lang.String
dup
iconst_0
4: ldc "getClassLoader"
aastore
dup
iconst_1
ldc "dynalink.getLookup"
aastore
5: invokestatic jdk.dynalink.internal.AccessControlContextFactory.createAccessControlContext:([Ljava/lang/String;)Ljava/security/AccessControlContext;
putstatic jdk.dynalink.beans.OverloadedDynamicMethod.GET_CALL_SITE_CLASS_LOADER_CONTEXT:Ljava/security/AccessControlContext;
6: invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.createPrimitiveWrapperTypes:()Ljava/util/Set;
putstatic jdk.dynalink.beans.OverloadedDynamicMethod.PRIMITIVE_WRAPPER_TYPES:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.getClassAndMethodName:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;
invokespecial jdk.dynalink.beans.DynamicMethod.<init>:(Ljava/lang/String;)V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
0 3 1 clazz Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
clazz final
name final
jdk.dynalink.beans.SingleDynamicMethod getMethodForExactParamTypes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/dynalink/beans/SingleDynamicMethod;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 2
start local 2 1: aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod java.lang.String java.util.LinkedList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
astore 3
start local 3 3: aload 3
aload 1
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.getMethodForExactParamTypes:(Ljava/lang/String;)Ljdk/dynalink/beans/SingleDynamicMethod;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 2
aload 5
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 2
invokevirtual java.util.LinkedList.size:()I
tableswitch { // 0 - 1
0: 8
1: 9
default: 10
}
8: StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod java.lang.String java.util.LinkedList
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
areturn
10: StackMap locals:
StackMap stack:
new java.lang.BootstrapMethodError
dup
new java.lang.StringBuilder
dup
ldc "Can't choose among "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for argument types "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " for method "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual jdk.dynalink.beans.OverloadedDynamicMethod.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.BootstrapMethodError.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
0 13 1 paramTypes Ljava/lang/String;
1 13 2 matchingMethods Ljava/util/LinkedList<Ljdk/dynalink/beans/SingleDynamicMethod;>;
3 6 3 method Ljdk/dynalink/beans/SingleDynamicMethod;
4 6 5 matchingMethod Ljdk/dynalink/beans/SingleDynamicMethod;
MethodParameters:
Name Flags
paramTypes final
java.lang.invoke.MethodHandle getInvocation(jdk.dynalink.CallSiteDescriptor, jdk.dynalink.linker.LinkerServices);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkerServices;)Ljava/lang/invoke/MethodHandle;
flags: (0x0000)
Code:
stack=8, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual jdk.dynalink.CallSiteDescriptor.getMethodType:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 0
aload 3
2: getstatic jdk.dynalink.beans.ApplicableOverloadedMethods.APPLICABLE_BY_SUBTYPING:Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;
3: invokevirtual jdk.dynalink.beans.OverloadedDynamicMethod.getApplicables:(Ljava/lang/invoke/MethodType;Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;)Ljdk/dynalink/beans/ApplicableOverloadedMethods;
astore 4
start local 4 4: aload 0
aload 3
5: getstatic jdk.dynalink.beans.ApplicableOverloadedMethods.APPLICABLE_BY_METHOD_INVOCATION_CONVERSION:Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;
6: invokevirtual jdk.dynalink.beans.OverloadedDynamicMethod.getApplicables:(Ljava/lang/invoke/MethodType;Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;)Ljdk/dynalink/beans/ApplicableOverloadedMethods;
astore 5
start local 5 7: aload 0
aload 3
8: getstatic jdk.dynalink.beans.ApplicableOverloadedMethods.APPLICABLE_BY_VARIABLE_ARITY:Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;
9: invokevirtual jdk.dynalink.beans.OverloadedDynamicMethod.getApplicables:(Ljava/lang/invoke/MethodType;Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;)Ljdk/dynalink/beans/ApplicableOverloadedMethods;
astore 6
start local 6 10: aload 4
invokevirtual jdk.dynalink.beans.ApplicableOverloadedMethods.findMaximallySpecificMethods:()Ljava/util/List;
astore 7
start local 7 11: aload 7
invokeinterface java.util.List.isEmpty:()Z
ifeq 15
12: aload 5
invokevirtual jdk.dynalink.beans.ApplicableOverloadedMethods.findMaximallySpecificMethods:()Ljava/util/List;
astore 7
13: aload 7
invokeinterface java.util.List.isEmpty:()Z
ifeq 15
14: aload 6
invokevirtual jdk.dynalink.beans.ApplicableOverloadedMethods.findMaximallySpecificMethods:()Ljava/util/List;
astore 7
15: StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod jdk.dynalink.CallSiteDescriptor jdk.dynalink.linker.LinkerServices java.lang.invoke.MethodType jdk.dynalink.beans.ApplicableOverloadedMethods jdk.dynalink.beans.ApplicableOverloadedMethods jdk.dynalink.beans.ApplicableOverloadedMethods java.util.List
StackMap stack:
aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.clone:()Ljava/lang/Object;
checkcast java.util.List
astore 8
start local 8 16: aload 8
aload 4
invokevirtual jdk.dynalink.beans.ApplicableOverloadedMethods.getMethods:()Ljava/util/List;
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
17: aload 8
aload 5
invokevirtual jdk.dynalink.beans.ApplicableOverloadedMethods.getMethods:()Ljava/util/List;
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
18: aload 8
aload 6
invokevirtual jdk.dynalink.beans.ApplicableOverloadedMethods.getMethods:()Ljava/util/List;
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
19: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 20: goto 24
21: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
astore 10
start local 10 22: aload 2
aload 3
aload 10
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isApplicableDynamically:(Ljdk/dynalink/linker/LinkerServices;Ljava/lang/invoke/MethodType;Ljdk/dynalink/beans/SingleDynamicMethod;)Z
ifne 24
23: aload 9
invokeinterface java.util.Iterator.remove:()V
end local 10 24: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
end local 9 25: aload 8
invokeinterface java.util.List.isEmpty:()Z
ifeq 29
aload 7
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 29
26: new java.lang.BootstrapMethodError
dup
new java.lang.StringBuilder
dup
ldc "Can't choose among "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for argument types "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokespecial java.lang.BootstrapMethodError.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 8
aload 7
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
30: aload 8
invokeinterface java.util.List.size:()I
tableswitch { // 0 - 1
0: 31
1: 32
default: 33
}
31: StackMap locals:
StackMap stack:
aconst_null
areturn
32: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
aload 1
aload 2
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.getInvocation:(Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkerServices;)Ljava/lang/invoke/MethodHandle;
areturn
33: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 8
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 9
start local 9 34: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 37
StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod jdk.dynalink.CallSiteDescriptor jdk.dynalink.linker.LinkerServices java.lang.invoke.MethodType jdk.dynalink.beans.ApplicableOverloadedMethods jdk.dynalink.beans.ApplicableOverloadedMethods jdk.dynalink.beans.ApplicableOverloadedMethods java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
35: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
astore 10
start local 10 36: aload 9
aload 10
aload 1
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.getTarget:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/invoke/MethodHandle;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 37: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
38: new jdk.dynalink.beans.OverloadedMethod
dup
aload 9
aload 0
aload 1
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.getCallSiteClassLoader:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/ClassLoader;
aload 3
aload 2
aload 1
invokespecial jdk.dynalink.beans.OverloadedMethod.<init>:(Ljava/util/List;Ljdk/dynalink/beans/OverloadedDynamicMethod;Ljava/lang/ClassLoader;Ljava/lang/invoke/MethodType;Ljdk/dynalink/linker/LinkerServices;Ljdk/dynalink/SecureLookupSupplier;)V
invokevirtual jdk.dynalink.beans.OverloadedMethod.getInvoker:()Ljava/lang/invoke/MethodHandle;
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 39 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
0 39 1 callSiteDescriptor Ljdk/dynalink/CallSiteDescriptor;
0 39 2 linkerServices Ljdk/dynalink/linker/LinkerServices;
1 39 3 callSiteType Ljava/lang/invoke/MethodType;
4 39 4 subtypingApplicables Ljdk/dynalink/beans/ApplicableOverloadedMethods;
7 39 5 methodInvocationApplicables Ljdk/dynalink/beans/ApplicableOverloadedMethods;
10 39 6 variableArityApplicables Ljdk/dynalink/beans/ApplicableOverloadedMethods;
11 39 7 maximallySpecifics Ljava/util/List<Ljdk/dynalink/beans/SingleDynamicMethod;>;
16 39 8 invokables Ljava/util/List<Ljdk/dynalink/beans/SingleDynamicMethod;>;
20 25 9 it Ljava/util/Iterator<Ljdk/dynalink/beans/SingleDynamicMethod;>;
22 24 10 m Ljdk/dynalink/beans/SingleDynamicMethod;
34 39 9 methodHandles Ljava/util/List<Ljava/lang/invoke/MethodHandle;>;
36 37 10 method Ljdk/dynalink/beans/SingleDynamicMethod;
MethodParameters:
Name Flags
callSiteDescriptor final
linkerServices final
private static java.lang.ClassLoader getCallSiteClassLoader(jdk.dynalink.CallSiteDescriptor);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.dynalink.beans.OverloadedDynamicMethod$1
dup
aload 0
invokespecial jdk.dynalink.beans.OverloadedDynamicMethod$1.<init>:(Ljdk/dynalink/CallSiteDescriptor;)V
1: getstatic jdk.dynalink.beans.OverloadedDynamicMethod.GET_CALL_SITE_CLASS_LOADER_CONTEXT:Ljava/security/AccessControlContext;
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 callSiteDescriptor Ljdk/dynalink/CallSiteDescriptor;
MethodParameters:
Name Flags
callSiteDescriptor final
public boolean contains(jdk.dynalink.beans.SingleDynamicMethod);
descriptor: (Ljdk/dynalink/beans/SingleDynamicMethod;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod jdk.dynalink.beans.SingleDynamicMethod top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
astore 2
start local 2 2: aload 2
aload 1
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.contains:(Ljdk/dynalink/beans/SingleDynamicMethod;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
0 6 1 m Ljdk/dynalink/beans/SingleDynamicMethod;
2 4 2 method Ljdk/dynalink/beans/SingleDynamicMethod;
MethodParameters:
Name Flags
m final
public boolean isConstructor();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.dynalink.beans.OverloadedDynamicMethod.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.isConstructor:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod java.util.List int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
astore 3
start local 3 4: aload 3
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.getName:()Ljava/lang/String;
astore 5
start local 5 5: iload 2
aload 5
invokevirtual java.lang.String.length:()I
iadd
istore 2
6: aload 1
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: invokestatic java.text.Collator.getInstance:()Ljava/text/Collator;
astore 3
start local 3 9: aload 3
iconst_1
invokevirtual java.text.Collator.setStrength:(I)V
10: aload 1
aload 3
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
11: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 12: aload 4
invokevirtual java.lang.String.length:()I
iload 2
iadd
iconst_2
aload 1
invokeinterface java.util.List.size:()I
imul
iadd
iconst_3
iadd
istore 5
start local 5 13: new java.lang.StringBuilder
dup
iload 5
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 6
start local 6 14: aload 6
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 18
StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod java.util.List int java.text.Collator java.lang.String int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
16: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 17: aload 6
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 7 18: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
19: aload 6
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: getstatic jdk.dynalink.beans.OverloadedDynamicMethod.$assertionsDisabled:Z
ifne 21
aload 6
invokevirtual java.lang.StringBuilder.length:()I
iload 5
if_icmpeq 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals: jdk.dynalink.beans.OverloadedDynamicMethod java.util.List int java.text.Collator java.lang.String int java.lang.StringBuilder
StackMap stack:
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 22 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
1 22 1 names Ljava/util/List<Ljava/lang/String;>;
2 22 2 len I
4 7 3 m Ljdk/dynalink/beans/SingleDynamicMethod;
5 7 5 name Ljava/lang/String;
9 22 3 collator Ljava/text/Collator;
12 22 4 className Ljava/lang/String;
13 22 5 totalLength I
14 22 6 b Ljava/lang/StringBuilder;
17 18 7 name Ljava/lang/String;
private static boolean isApplicableDynamically(jdk.dynalink.linker.LinkerServices, java.lang.invoke.MethodType, jdk.dynalink.beans.SingleDynamicMethod);
descriptor: (Ljdk/dynalink/linker/LinkerServices;Ljava/lang/invoke/MethodType;Ljdk/dynalink/beans/SingleDynamicMethod;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.getMethodType:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: aload 2
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.isVarArgs:()Z
istore 4
start local 4 2: aload 3
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iload 4
ifeq 3
iconst_1
goto 4
StackMap locals: jdk.dynalink.linker.LinkerServices java.lang.invoke.MethodType jdk.dynalink.beans.SingleDynamicMethod java.lang.invoke.MethodType int
StackMap stack: int
3: iconst_0
StackMap locals: jdk.dynalink.linker.LinkerServices java.lang.invoke.MethodType jdk.dynalink.beans.SingleDynamicMethod java.lang.invoke.MethodType int
StackMap stack: int int
4: isub
istore 5
start local 5 5: aload 1
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 6
start local 6 6: iload 4
ifeq 9
7: iload 6
iload 5
if_icmpge 11
8: iconst_0
ireturn
9: StackMap locals: int int
StackMap stack:
iload 6
iload 5
if_icmpeq 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
istore 7
start local 7 12: goto 16
13: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 7
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
aload 3
iload 7
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isApplicableDynamically:(Ljdk/dynalink/linker/LinkerServices;Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
16: iload 7
iload 5
if_icmplt 13
end local 7 17: iload 4
ifne 19
18: iconst_1
ireturn
19: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 7
start local 7 20: aload 7
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 8
start local 8 21: iload 5
iload 6
iconst_1
isub
if_icmpne 27
22: aload 1
iload 5
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 9
start local 9 23: aload 0
aload 9
aload 7
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isApplicableDynamically:(Ljdk/dynalink/linker/LinkerServices;Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 26
24: aload 0
aload 9
aload 8
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isApplicableDynamically:(Ljdk/dynalink/linker/LinkerServices;Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 26
25: iconst_0
ireturn
StackMap locals: java.lang.Class java.lang.Class java.lang.Class
StackMap stack:
26: iconst_1
ireturn
end local 9 27: StackMap locals:
StackMap stack:
iload 5
istore 9
start local 9 28: goto 32
29: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 9
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
aload 8
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isApplicableDynamically:(Ljdk/dynalink/linker/LinkerServices;Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 31
30: iconst_0
ireturn
31: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
32: iload 9
iload 6
if_icmplt 29
end local 9 33: iconst_1
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 linkerServices Ljdk/dynalink/linker/LinkerServices;
0 34 1 callSiteType Ljava/lang/invoke/MethodType;
0 34 2 m Ljdk/dynalink/beans/SingleDynamicMethod;
1 34 3 methodType Ljava/lang/invoke/MethodType;
2 34 4 varArgs Z
5 34 5 fixedArgLen I
6 34 6 callSiteArgLen I
12 17 7 i I
20 34 7 varArgArrayType Ljava/lang/Class<*>;
21 34 8 varArgType Ljava/lang/Class<*>;
23 27 9 callSiteArgType Ljava/lang/Class<*>;
28 33 9 i I
MethodParameters:
Name Flags
linkerServices final
callSiteType final
m final
private static boolean isApplicableDynamically(jdk.dynalink.linker.LinkerServices, java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljdk/dynalink/linker/LinkerServices;Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isPotentiallyConvertible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 3
1: aload 0
aload 1
aload 2
invokeinterface jdk.dynalink.linker.LinkerServices.canConvert:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 linkerServices Ljdk/dynalink/linker/LinkerServices;
0 4 1 callSiteType Ljava/lang/Class<*>;
0 4 2 methodType Ljava/lang/Class<*>;
Signature: (Ljdk/dynalink/linker/LinkerServices;Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
linkerServices final
callSiteType final
methodType final
private jdk.dynalink.beans.ApplicableOverloadedMethods getApplicables(java.lang.invoke.MethodType, jdk.dynalink.beans.ApplicableOverloadedMethods$ApplicabilityTest);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;)Ljdk/dynalink/beans/ApplicableOverloadedMethods;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.dynalink.beans.ApplicableOverloadedMethods
dup
aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
aload 1
aload 2
invokespecial jdk.dynalink.beans.ApplicableOverloadedMethods.<init>:(Ljava/util/List;Ljava/lang/invoke/MethodType;Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
0 1 1 callSiteType Ljava/lang/invoke/MethodType;
0 1 2 test Ljdk/dynalink/beans/ApplicableOverloadedMethods$ApplicabilityTest;
MethodParameters:
Name Flags
callSiteType final
test final
public void addMethod(jdk.dynalink.beans.SingleDynamicMethod);
descriptor: (Ljdk/dynalink/beans/SingleDynamicMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.dynalink.beans.OverloadedDynamicMethod.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
invokevirtual jdk.dynalink.beans.OverloadedDynamicMethod.constructorFlagConsistent:(Ljdk/dynalink/beans/SingleDynamicMethod;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
aload 1
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
0 3 1 method Ljdk/dynalink/beans/SingleDynamicMethod;
MethodParameters:
Name Flags
method final
private boolean constructorFlagConsistent(jdk.dynalink.beans.SingleDynamicMethod);
descriptor: (Ljdk/dynalink/beans/SingleDynamicMethod;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifeq 1
iconst_1
goto 3
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.dynalink.beans.OverloadedDynamicMethod.methods:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
checkcast jdk.dynalink.beans.SingleDynamicMethod
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.isConstructor:()Z
aload 1
invokevirtual jdk.dynalink.beans.SingleDynamicMethod.isConstructor:()Z
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/dynalink/beans/OverloadedDynamicMethod;
0 4 1 method Ljdk/dynalink/beans/SingleDynamicMethod;
MethodParameters:
Name Flags
method final
private static boolean isPotentiallyConvertible(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic jdk.dynalink.internal.InternalTypeUtilities.areAssignable:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 5
3: aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 4
aload 1
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isAssignableFromBoxedPrimitive:(Ljava/lang/Class;)Z
ifne 4
iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 7
6: aload 0
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.isAssignableFromBoxedPrimitive:(Ljava/lang/Class;)Z
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 callSiteType Ljava/lang/Class<*>;
0 8 1 methodType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
callSiteType final
methodType final
private static java.util.Set<java.lang.Class<?>> createPrimitiveWrapperTypes();
descriptor: ()Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
astore 0
start local 0 1: aload 0
ldc Ljava/lang/Boolean;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
2: aload 0
ldc Ljava/lang/Byte;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
3: aload 0
ldc Ljava/lang/Character;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
4: aload 0
ldc Ljava/lang/Short;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
5: aload 0
ldc Ljava/lang/Integer;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
6: aload 0
ldc Ljava/lang/Long;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
7: aload 0
ldc Ljava/lang/Float;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
8: aload 0
ldc Ljava/lang/Double;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
9: aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 classes Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
Signature: ()Ljava/util/Set<Ljava/lang/Class<*>;>;
private static void addClassHierarchy(java.util.Map<java.lang.Class<?>, java.lang.Class<?>>, java.lang.Class<?>);
descriptor: (Ljava/util/Map;Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
4: aload 1
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: java.util.Map java.lang.Class top int int java.lang.Class[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: aload 0
aload 2
invokestatic jdk.dynalink.beans.OverloadedDynamicMethod.addClassHierarchy:(Ljava/util/Map;Ljava/lang/Class;)V
end local 2 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 5
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 map Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
0 10 1 clazz Ljava/lang/Class<*>;
6 7 2 itf Ljava/lang/Class<*>;
Signature: (Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
map final
clazz final
private static boolean isAssignableFromBoxedPrimitive(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.dynalink.beans.OverloadedDynamicMethod.PRIMITIVE_WRAPPER_TYPES:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
}
SourceFile: "OverloadedDynamicMethod.java"
NestMembers:
jdk.dynalink.beans.OverloadedDynamicMethod$1
InnerClasses:
abstract ApplicabilityTest = jdk.dynalink.beans.ApplicableOverloadedMethods$ApplicabilityTest of jdk.dynalink.beans.ApplicableOverloadedMethods
jdk.dynalink.beans.OverloadedDynamicMethod$1