public class com.sun.tools.jdeprscan.scan.MethodSig
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdeprscan.scan.MethodSig
super_class: java.lang.Object
{
final java.util.List<java.lang.String> parameters;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
final java.lang.String returnType;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
public static com.sun.tools.jdeprscan.scan.MethodSig fromDesc(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/jdeprscan/scan/MethodSig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
invokestatic com.sun.tools.jdeprscan.scan.MethodSig.parse:(Ljava/lang/String;II)Lcom/sun/tools/jdeprscan/scan/MethodSig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 desc Ljava/lang/String;
MethodParameters:
Name Flags
desc
public java.lang.String getReturnType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeprscan.scan.MethodSig.returnType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeprscan/scan/MethodSig;
public java.util.List<java.lang.String> getParameters();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeprscan.scan.MethodSig.parameters:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeprscan/scan/MethodSig;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "parameters"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield com.sun.tools.jdeprscan.scan.MethodSig.parameters:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 5
3: aload 1
ldc " none"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: goto 10
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
iconst_0
istore 2
start local 2 6: aload 0
getfield com.sun.tools.jdeprscan.scan.MethodSig.parameters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: com.sun.tools.jdeprscan.scan.MethodSig java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 8: aload 1
ldc " %d=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
iinc 2 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 3
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 2 10: StackMap locals: com.sun.tools.jdeprscan.scan.MethodSig java.lang.StringBuilder
StackMap stack:
aload 1
ldc " return %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.jdeprscan.scan.MethodSig.returnType:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/jdeprscan/scan/MethodSig;
1 12 1 sb Ljava/lang/StringBuilder;
6 10 2 i I
8 9 3 p Ljava/lang/String;
private void <init>(java.util.List<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield com.sun.tools.jdeprscan.scan.MethodSig.parameters:Ljava/util/List;
2: aload 0
aload 2
putfield com.sun.tools.jdeprscan.scan.MethodSig.returnType:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeprscan/scan/MethodSig;
0 4 1 parameters Ljava/util/List<Ljava/lang/String;>;
0 4 2 returnType Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
parameters
returnType
private static java.lang.IllegalArgumentException ex(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/IllegalArgumentException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.IllegalArgumentException
dup
1: ldc "illegal descriptor \"%s\" at position %d"
iconst_2
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
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 desc Ljava/lang/String;
0 3 1 pos I
MethodParameters:
Name Flags
desc
pos
private static com.sun.tools.jdeprscan.scan.MethodSig parse(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Lcom/sun/tools/jdeprscan/scan/MethodSig;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aconst_null
astore 6
start local 6 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 5: goto 36
6: StackMap locals: java.lang.String int int int int int java.lang.String java.util.List
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
dup
istore 9
start local 9 7: lookupswitch { // 13
40: 8
41: 10
66: 16
67: 16
68: 16
70: 16
73: 16
74: 16
76: 19
83: 16
86: 16
90: 16
91: 13
default: 25
}
8: StackMap locals: java.lang.String int int int int int java.lang.String java.util.List top int
StackMap stack:
iinc 3 1
9: goto 36
10: StackMap locals:
StackMap stack:
iinc 3 1
11: iconst_1
istore 5
12: goto 36
13: StackMap locals:
StackMap stack:
iinc 3 1
14: iinc 4 1
15: goto 36
16: StackMap locals:
StackMap stack:
iload 9
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
astore 8
start local 8 17: iinc 3 1
18: goto 26
end local 8 19: StackMap locals:
StackMap stack:
aload 0
bipush 59
iload 3
invokevirtual java.lang.String.indexOf:(II)I
istore 10
start local 10 20: iload 10
iconst_m1
if_icmpeq 21
iload 10
iload 2
if_icmplt 22
21: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokestatic com.sun.tools.jdeprscan.scan.MethodSig.ex:(Ljava/lang/String;I)Ljava/lang/IllegalArgumentException;
athrow
22: StackMap locals:
StackMap stack:
aload 0
iload 3
iinc 10 1
iload 10
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 23: iload 10
istore 3
24: goto 26
end local 10 end local 8 25: StackMap locals:
StackMap stack:
aload 0
iload 3
invokestatic com.sun.tools.jdeprscan.scan.MethodSig.ex:(Ljava/lang/String;I)Ljava/lang/IllegalArgumentException;
athrow
start local 8 26: StackMap locals: java.lang.String int int int int int java.lang.String java.util.List java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 10
start local 10 27: goto 30
28: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 10
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: iinc 4 -1
StackMap locals:
StackMap stack:
30: iload 4
ifgt 28
31: aload 10
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: iload 5
ifeq 35
33: aload 10
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
34: goto 36
35: StackMap locals:
StackMap stack:
aload 7
aload 10
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 8 36: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 6
37: aload 6
ifnonnull 39
38: aload 0
iload 2
invokestatic com.sun.tools.jdeprscan.scan.MethodSig.ex:(Ljava/lang/String;I)Ljava/lang/IllegalArgumentException;
athrow
39: StackMap locals:
StackMap stack:
new com.sun.tools.jdeprscan.scan.MethodSig
dup
aload 7
aload 6
invokespecial com.sun.tools.jdeprscan.scan.MethodSig.<init>:(Ljava/util/List;Ljava/lang/String;)V
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 40 0 desc Ljava/lang/String;
0 40 1 start I
0 40 2 end I
1 40 3 p I
2 40 4 dims I
3 40 5 inReturnType Z
4 40 6 returnType Ljava/lang/String;
5 40 7 parameters Ljava/util/List<Ljava/lang/String;>;
17 19 8 type Ljava/lang/String;
23 25 8 type Ljava/lang/String;
26 36 8 type Ljava/lang/String;
7 36 9 ch C
20 25 10 sep I
27 36 10 sb Ljava/lang/StringBuilder;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
desc
start
end
}
SourceFile: "MethodSig.java"