public class sun.invoke.util.VerifyType
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.invoke.util.VerifyType
super_class: java.lang.Object
{
private static final java.lang.Class<?> NULL_CLASS;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: 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=1, locals=1, args_size=0
0: ldc Lsun/invoke/util/VerifyType;
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 sun.invoke.util.VerifyType.$assertionsDisabled:Z
3: aconst_null
astore 0
start local 0 4: ldc "java.lang.Null"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 0
5: goto 7
StackMap locals: java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
6: pop
7: StackMap locals:
StackMap stack:
aload 0
putstatic sun.invoke.util.VerifyType.NULL_CLASS:Ljava/lang/Class;
end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
4 8 0 nullClass Ljava/lang/Class<*>;
Exception table:
from to target type
4 5 6 Class java.lang.ClassNotFoundException
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 Lsun/invoke/util/VerifyType;
public static boolean isNullConversion(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 2
ldc Ljava/lang/Object;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isInterface:()Z
ifeq 3
ldc Ljava/lang/Object;
astore 0
3: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 4
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 5
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.invoke.util.VerifyType.isNullType:(Ljava/lang/Class;)Z
ifeq 8
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 6
iconst_0
goto 7
StackMap locals:
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: ireturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 9
aload 1
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 10
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
astore 2
start local 2 11: aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 12
aload 2
invokevirtual sun.invoke.util.Wrapper.isSubwordOrInt:()Z
ireturn
12: StackMap locals: sun.invoke.util.Wrapper
StackMap stack:
aload 1
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
astore 3
start local 3 13: aload 2
invokevirtual sun.invoke.util.Wrapper.isSubwordOrInt:()Z
ifne 14
iconst_0
ireturn
14: StackMap locals: sun.invoke.util.Wrapper
StackMap stack:
aload 3
invokevirtual sun.invoke.util.Wrapper.isSubwordOrInt:()Z
ifne 15
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.invoke.util.Wrapper.isSigned:()Z
ifne 16
aload 2
invokevirtual sun.invoke.util.Wrapper.isSigned:()Z
ifeq 16
iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.invoke.util.Wrapper.bitWidth:()I
aload 2
invokevirtual sun.invoke.util.Wrapper.bitWidth:()I
if_icmple 17
iconst_1
ireturn
StackMap locals:
StackMap stack:
17: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 src Ljava/lang/Class<*>;
0 18 1 dst Ljava/lang/Class<*>;
11 18 2 sw Lsun/invoke/util/Wrapper;
13 18 3 dw Lsun/invoke/util/Wrapper;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
src
dst
public static boolean isNullReferenceConversion(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: getstatic sun.invoke.util.VerifyType.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 2
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.invoke.util.VerifyType.isNullType:(Ljava/lang/Class;)Z
ifeq 3
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 src Ljava/lang/Class<*>;
0 4 1 dst Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
src
dst
public static boolean isNullType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
getstatic sun.invoke.util.VerifyType.NULL_CLASS:Ljava/lang/Class;
if_acmpeq 4
2: aload 0
ldc Lsun/invoke/empty/Empty;
if_acmpeq 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
public static boolean isNullConversion(java.lang.invoke.MethodType, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 2
start local 2 2: iload 2
aload 1
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmpeq 3
iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
aload 1
iload 3
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
invokestatic sun.invoke.util.VerifyType.isNullConversion:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 5
end local 3 9: aload 1
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
invokestatic sun.invoke.util.VerifyType.isNullConversion:(Ljava/lang/Class;Ljava/lang/Class;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 call Ljava/lang/invoke/MethodType;
0 10 1 recv Ljava/lang/invoke/MethodType;
2 10 2 len I
4 9 3 i I
MethodParameters:
Name Flags
call
recv
public static int canPassUnchecked(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 22
3: aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
astore 2
start local 2 10: aload 1
invokestatic sun.invoke.util.Wrapper.forPrimitiveType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
astore 3
start local 3 11: aload 2
invokevirtual sun.invoke.util.Wrapper.isSubwordOrInt:()Z
ifeq 17
aload 3
invokevirtual sun.invoke.util.Wrapper.isSubwordOrInt:()Z
ifeq 17
12: aload 2
invokevirtual sun.invoke.util.Wrapper.bitWidth:()I
aload 3
invokevirtual sun.invoke.util.Wrapper.bitWidth:()I
if_icmplt 14
13: iconst_m1
ireturn
14: StackMap locals: sun.invoke.util.Wrapper sun.invoke.util.Wrapper
StackMap stack:
aload 3
invokevirtual sun.invoke.util.Wrapper.isSigned:()Z
ifne 16
aload 2
invokevirtual sun.invoke.util.Wrapper.isSigned:()Z
ifeq 16
15: iconst_m1
ireturn
16: StackMap locals:
StackMap stack:
iconst_1
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpeq 18
aload 1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 21
18: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpeq 19
aload 1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 20
19: StackMap locals:
StackMap stack:
iconst_m1
ireturn
20: StackMap locals:
StackMap stack:
iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 22: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 24
23: iconst_0
ireturn
24: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.invoke.util.VerifyType.isNullReferenceConversion:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 26
25: iconst_1
ireturn
26: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 src Ljava/lang/Class<*>;
0 27 1 dst Ljava/lang/Class<*>;
10 22 2 sw Lsun/invoke/util/Wrapper;
11 22 3 dw Lsun/invoke/util/Wrapper;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)I
MethodParameters:
Name Flags
src
dst
public static boolean isSpreadArgType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isArray:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 spreadArg Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
spreadArg
public static java.lang.Class<?> spreadArgElementType(java.lang.Class<?>, int);
descriptor: (Ljava/lang/Class;I)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 spreadArg Ljava/lang/Class<*>;
0 1 1 i I
Signature: (Ljava/lang/Class<*>;I)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
spreadArg
i
}
SourceFile: "VerifyType.java"