public class jdk.dynalink.internal.InternalTypeUtilities
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.dynalink.internal.InternalTypeUtilities
super_class: java.lang.Object
{
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/dynalink/internal/InternalTypeUtilities;
public static boolean areAssignable(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 1
aload 1
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c1 Ljava/lang/Class<*>;
0 2 1 c2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c1 final
c2 final
public static boolean canReferenceDirectly(java.lang.ClassLoader, java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/ClassLoader;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 5: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 2
aload 1
if_acmpne 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 2
8: aload 2
ifnonnull 5
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 referrerLoader Ljava/lang/ClassLoader;
0 10 1 referredLoader Ljava/lang/ClassLoader;
5 10 2 referrer Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
referrerLoader final
referredLoader final
public static java.lang.Class<?> getCommonLosslessConversionType(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 3
aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 4
3: StackMap locals:
StackMap stack:
ldc Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokestatic jdk.dynalink.linker.support.TypeUtilities.isConvertibleWithoutLoss:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 6
5: aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.dynalink.linker.support.TypeUtilities.isConvertibleWithoutLoss:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 8
7: aload 1
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 18
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 18
9: aload 0
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 10
aload 1
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpeq 11
StackMap locals:
StackMap stack:
10: aload 0
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 12
aload 1
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 12
11: StackMap locals:
StackMap stack:
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
12: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 13
aload 1
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpeq 14
StackMap locals:
StackMap stack:
13: aload 0
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 15
aload 1
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 15
14: StackMap locals:
StackMap stack:
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
15: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 16
aload 1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpeq 17
StackMap locals:
StackMap stack:
16: aload 0
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 18
aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 18
17: StackMap locals:
StackMap stack:
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
areturn
18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.dynalink.internal.InternalTypeUtilities.getMostSpecificCommonTypeUnequalNonprimitives:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 c1 Ljava/lang/Class<*>;
0 19 1 c2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
c1 final
c2 final
private static java.lang.Class<?> getMostSpecificCommonTypeUnequalNonprimitives(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 1
aload 0
invokestatic jdk.dynalink.linker.support.TypeUtilities.getWrapperType:(Ljava/lang/Class;)Ljava/lang/Class;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.lang.Class
2: astore 2
start local 2 3: aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 4
aload 1
invokestatic jdk.dynalink.linker.support.TypeUtilities.getWrapperType:(Ljava/lang/Class;)Ljava/lang/Class;
goto 5
StackMap locals: java.lang.Class
StackMap stack:
4: aload 1
StackMap locals:
StackMap stack: java.lang.Class
5: astore 3
start local 3 6: aload 2
aload 3
invokestatic jdk.dynalink.internal.InternalTypeUtilities.getAssignables:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/Set;
astore 4
start local 4 7: aload 3
aload 2
invokestatic jdk.dynalink.internal.InternalTypeUtilities.getAssignables:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/Set;
astore 5
start local 5 8: aload 4
aload 5
invokeinterface java.util.Set.retainAll:(Ljava/util/Collection;)Z
pop
9: aload 4
invokeinterface java.util.Set.isEmpty:()Z
ifeq 11
10: ldc Ljava/lang/Object;
areturn
11: StackMap locals: java.lang.Class java.util.Set java.util.Set
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 12: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 23
StackMap locals: java.lang.Class java.lang.Class java.lang.Class java.lang.Class java.util.Set java.util.Set java.util.List top java.util.Iterator
StackMap stack:
13: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 7
start local 7 14: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 15: goto 21
16: StackMap locals: java.lang.Class java.lang.Class java.lang.Class java.lang.Class java.util.Set java.util.Set java.util.List java.lang.Class java.util.Iterator java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 10
start local 10 17: aload 10
aload 7
invokestatic jdk.dynalink.linker.support.TypeUtilities.isSubtype:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 19
18: goto 23
19: StackMap locals: java.lang.Class
StackMap stack:
aload 7
aload 10
invokestatic jdk.dynalink.linker.support.TypeUtilities.isSubtype:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 21
20: aload 9
invokeinterface java.util.Iterator.remove:()V
end local 10 21: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
end local 9 22: aload 6
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 23: StackMap locals: java.lang.Class java.lang.Class java.lang.Class java.lang.Class java.util.Set java.util.Set java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
24: aload 6
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 26
25: ldc Ljava/lang/Object;
areturn
26: StackMap locals: java.lang.Class java.lang.Class java.lang.Class java.lang.Class java.util.Set java.util.Set java.util.List
StackMap stack:
aload 6
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Class
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 27 0 c1 Ljava/lang/Class<*>;
0 27 1 c2 Ljava/lang/Class<*>;
3 27 2 npc1 Ljava/lang/Class<*>;
6 27 3 npc2 Ljava/lang/Class<*>;
7 27 4 a1 Ljava/util/Set<Ljava/lang/Class<*>;>;
8 27 5 a2 Ljava/util/Set<Ljava/lang/Class<*>;>;
12 27 6 max Ljava/util/List<Ljava/lang/Class<*>;>;
14 23 7 clazz Ljava/lang/Class<*>;
15 22 9 maxiter Ljava/util/Iterator<Ljava/lang/Class<*>;>;
17 21 10 maxClazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
c1 final
c2 final
private static java.util.Set<java.lang.Class<?>> getAssignables(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokestatic jdk.dynalink.internal.InternalTypeUtilities.collectAssignables:(Ljava/lang/Class;Ljava/lang/Class;Ljava/util/Set;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c1 Ljava/lang/Class<*>;
0 3 1 c2 Ljava/lang/Class<*>;
1 3 2 s Ljava/util/Set<Ljava/lang/Class<*>;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/util/Set<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
c1 final
c2 final
private static void collectAssignables(java.lang.Class<?>, java.lang.Class<?>, java.util.Set<java.lang.Class<?>>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
1: aload 2
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
aload 1
aload 2
invokestatic jdk.dynalink.internal.InternalTypeUtilities.collectAssignables:(Ljava/lang/Class;Ljava/lang/Class;Ljava/util/Set;)V
5: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 10
8: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 4
iload 5
aaload
aload 1
aload 2
invokestatic jdk.dynalink.internal.InternalTypeUtilities.collectAssignables:(Ljava/lang/Class;Ljava/lang/Class;Ljava/util/Set;)V
9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 4
arraylength
if_icmplt 8
end local 5 11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 c1 Ljava/lang/Class<*>;
0 12 1 c2 Ljava/lang/Class<*>;
0 12 2 s Ljava/util/Set<Ljava/lang/Class<*>;>;
3 12 3 sc Ljava/lang/Class<*>;
6 12 4 itf [Ljava/lang/Class;
7 11 5 i I
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
c1 final
c2 final
s final
}
SourceFile: "InternalTypeUtilities.java"