public class sun.invoke.util.BytecodeDescriptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.invoke.util.BytecodeDescriptor
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/invoke/util/BytecodeDescriptor;
public static java.util.List<java.lang.Class<?>> parseMethod(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
aload 1
invokestatic sun.invoke.util.BytecodeDescriptor.parseMethod:(Ljava/lang/String;IILjava/lang/ClassLoader;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytecodeSignature Ljava/lang/String;
0 1 1 loader Ljava/lang/ClassLoader;
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
bytecodeSignature
loader
static java.util.List<java.lang.Class<?>> parseMethod(java.lang.String, int, int, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;IILjava/lang/ClassLoader;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
astore 4
start local 4 1: iconst_1
newarray 10
dup
iconst_0
iload 1
iastore
astore 5
start local 5 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 3: aload 5
iconst_0
iaload
iload 2
if_icmpge 13
aload 4
aload 5
iconst_0
iaload
invokevirtual java.lang.String.charAt:(I)C
bipush 40
if_icmpne 13
4: aload 5
iconst_0
dup2
iaload
iconst_1
iadd
iastore
5: goto 10
6: StackMap locals: java.lang.String int[] java.util.ArrayList
StackMap stack:
aload 4
aload 5
iload 2
aload 3
invokestatic sun.invoke.util.BytecodeDescriptor.parseSig:(Ljava/lang/String;[IILjava/lang/ClassLoader;)Ljava/lang/Class;
astore 7
start local 7 7: aload 7
ifnull 8
aload 7
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 9
8: StackMap locals: java.lang.Class
StackMap stack:
aload 4
ldc "bad argument type"
invokestatic sun.invoke.util.BytecodeDescriptor.parseError:(Ljava/lang/String;Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 6
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 10: StackMap locals:
StackMap stack:
aload 5
iconst_0
iaload
iload 2
if_icmpge 11
aload 4
aload 5
iconst_0
iaload
invokevirtual java.lang.String.charAt:(I)C
bipush 41
if_icmpne 6
11: StackMap locals:
StackMap stack:
aload 5
iconst_0
dup2
iaload
iconst_1
iadd
iastore
12: goto 14
13: StackMap locals:
StackMap stack:
aload 4
ldc "not a method type"
invokestatic sun.invoke.util.BytecodeDescriptor.parseError:(Ljava/lang/String;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 4
aload 5
iload 2
aload 3
invokestatic sun.invoke.util.BytecodeDescriptor.parseSig:(Ljava/lang/String;[IILjava/lang/ClassLoader;)Ljava/lang/Class;
astore 7
start local 7 15: aload 7
ifnull 16
aload 5
iconst_0
iaload
iload 2
if_icmpeq 17
16: StackMap locals: java.lang.Class
StackMap stack:
aload 4
ldc "bad return type"
invokestatic sun.invoke.util.BytecodeDescriptor.parseError:(Ljava/lang/String;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 6
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
18: aload 6
areturn
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 19 0 bytecodeSignature Ljava/lang/String;
0 19 1 start I
0 19 2 end I
0 19 3 loader Ljava/lang/ClassLoader;
1 19 4 str Ljava/lang/String;
2 19 5 i [I
3 19 6 ptypes Ljava/util/ArrayList<Ljava/lang/Class<*>;>;
7 10 7 pt Ljava/lang/Class<*>;
15 19 7 rtype Ljava/lang/Class<*>;
Signature: (Ljava/lang/String;IILjava/lang/ClassLoader;)Ljava/util/List<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
bytecodeSignature
start
end
loader
private static void parseError(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bad signature: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
0 1 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
str
msg
private static java.lang.Class<?> parseSig(java.lang.String, int[], int, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;[IILjava/lang/ClassLoader;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iconst_0
iaload
iload 2
if_icmpne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
dup2
iaload
dup_x2
iconst_1
iadd
iastore
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 2: iload 4
bipush 76
if_icmpne 14
3: aload 1
iconst_0
iaload
istore 5
start local 5 4: aload 0
bipush 59
iload 5
invokevirtual java.lang.String.indexOf:(II)I
istore 6
start local 6 5: iload 6
ifge 6
aconst_null
areturn
6: StackMap locals: int int int
StackMap stack:
aload 1
iconst_0
iload 6
iconst_1
iadd
iastore
7: aload 0
iload 5
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 7
start local 7 8: aload 3
ifnonnull 10
9: aload 7
iconst_0
aconst_null
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
goto 11
10: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 7
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
11: StackMap locals:
StackMap stack: java.lang.Class
areturn
12: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 8
start local 8 13: new java.lang.TypeNotPresentException
dup
aload 7
aload 8
invokespecial java.lang.TypeNotPresentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 end local 7 end local 6 end local 5 14: StackMap locals:
StackMap stack:
iload 4
bipush 91
if_icmpne 19
15: aload 0
aload 1
iload 2
aload 3
invokestatic sun.invoke.util.BytecodeDescriptor.parseSig:(Ljava/lang/String;[IILjava/lang/ClassLoader;)Ljava/lang/Class;
astore 5
start local 5 16: aload 5
ifnull 18
17: aload 5
iconst_0
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 5
18: StackMap locals: java.lang.Class
StackMap stack:
aload 5
areturn
end local 5 19: StackMap locals:
StackMap stack:
iload 4
invokestatic sun.invoke.util.Wrapper.forBasicType:(C)Lsun/invoke/util/Wrapper;
invokevirtual sun.invoke.util.Wrapper.primitiveType:()Ljava/lang/Class;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 str Ljava/lang/String;
0 20 1 i [I
0 20 2 end I
0 20 3 loader Ljava/lang/ClassLoader;
2 20 4 c C
4 14 5 begc I
5 14 6 endc I
8 14 7 name Ljava/lang/String;
13 14 8 ex Ljava/lang/ClassNotFoundException;
16 19 5 t Ljava/lang/Class<*>;
Exception table:
from to target type
8 11 12 Class java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;[IILjava/lang/ClassLoader;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
str
i
end
loader
public static java.lang.String unparse(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc Ljava/lang/Object;
if_acmpne 2
1: ldc "Ljava/lang/Object;"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 4
3: ldc "I"
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 5: aload 0
aload 1
invokestatic sun.invoke.util.BytecodeDescriptor.unparseSig:(Ljava/lang/Class;Ljava/lang/StringBuilder;)V
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/Class<*>;
5 7 1 sb Ljava/lang/StringBuilder;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
type
public static java.lang.String unparse(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.invoke.MethodType.parameterArray:()[Ljava/lang/Class;
invokestatic sun.invoke.util.BytecodeDescriptor.unparseMethod:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
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.String unparse(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Class
ifeq 2
1: aload 0
checkcast java.lang.Class
invokestatic sun.invoke.util.BytecodeDescriptor.unparse:(Ljava/lang/Class;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.invoke.MethodType
ifeq 4
3: aload 0
checkcast java.lang.invoke.MethodType
invokestatic sun.invoke.util.BytecodeDescriptor.unparse:(Ljava/lang/invoke/MethodType;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 type Ljava/lang/Object;
MethodParameters:
Name Flags
type
public static java.lang.String unparseMethod(java.lang.Class<?>, java.util.List<java.lang.Class<?>>);
descriptor: (Ljava/lang/Class;Ljava/util/List;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 2
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: java.lang.Class java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 4: aload 3
aload 2
invokestatic sun.invoke.util.BytecodeDescriptor.unparseSig:(Ljava/lang/Class;Ljava/lang/StringBuilder;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 2
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 0
aload 2
invokestatic sun.invoke.util.BytecodeDescriptor.unparseSig:(Ljava/lang/Class;Ljava/lang/StringBuilder;)V
8: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 rtype Ljava/lang/Class<*>;
0 9 1 ptypes Ljava/util/List<Ljava/lang/Class<*>;>;
1 9 2 sb Ljava/lang/StringBuilder;
4 5 3 pt Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/util/List<Ljava/lang/Class<*>;>;)Ljava/lang/String;
MethodParameters:
Name Flags
rtype
ptypes
public static java.lang.String unparseMethod(java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 2
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: java.lang.Class java.lang.Class[] java.lang.StringBuilder top int int java.lang.Class[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
aload 2
invokestatic sun.invoke.util.BytecodeDescriptor.unparseSig:(Ljava/lang/Class;Ljava/lang/StringBuilder;)V
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
7: aload 2
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 0
aload 2
invokestatic sun.invoke.util.BytecodeDescriptor.unparseSig:(Ljava/lang/Class;Ljava/lang/StringBuilder;)V
9: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 rtype Ljava/lang/Class<*>;
0 10 1 ptypes [Ljava/lang/Class;
1 10 2 sb Ljava/lang/StringBuilder;
4 5 3 pt Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
rtype
ptypes
private static void unparseSig(java.lang.Class<?>, java.lang.StringBuilder);
descriptor: (Ljava/lang/Class;Ljava/lang/StringBuilder;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic sun.invoke.util.Wrapper.forBasicType:(Ljava/lang/Class;)Lsun/invoke/util/Wrapper;
invokevirtual sun.invoke.util.Wrapper.basicTypeChar:()C
istore 2
start local 2 1: iload 2
bipush 76
if_icmpeq 4
2: aload 1
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: goto 13
StackMap locals: int
StackMap stack:
4: aload 0
ldc Ljava/lang/Object;
if_acmpne 7
5: aload 1
ldc "Ljava/lang/Object;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 13
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isArray:()Z
ifeq 8
iconst_0
goto 9
StackMap locals:
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: istore 3
start local 3 10: iload 3
ifeq 11
aload 1
bipush 76
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: StackMap locals: int
StackMap stack:
aload 1
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: iload 3
ifeq 13
aload 1
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 t Ljava/lang/Class<*>;
0 14 1 sb Ljava/lang/StringBuilder;
1 14 2 c C
10 13 3 lsemi Z
Signature: (Ljava/lang/Class<*>;Ljava/lang/StringBuilder;)V
MethodParameters:
Name Flags
t
sb
}
SourceFile: "BytecodeDescriptor.java"