public class org.jruby.ast.java_signature.MethodSignatureNode extends org.jruby.ast.java_signature.SignatureNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.java_signature.MethodSignatureNode
super_class: org.jruby.ast.java_signature.SignatureNode
{
protected org.jruby.ast.java_signature.TypeNode returnType;
descriptor: Lorg/jruby/ast/java_signature/TypeNode;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.String, java.util.List<org.jruby.ast.java_signature.ParameterNode>);
descriptor: (Ljava/lang/String;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.ast.java_signature.SignatureNode.<init>:(Ljava/lang/String;Ljava/util/List;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ast/java_signature/MethodSignatureNode;
0 2 1 name Ljava/lang/String;
0 2 2 parameterList Ljava/util/List<Lorg/jruby/ast/java_signature/ParameterNode;>;
Signature: (Ljava/lang/String;Ljava/util/List<Lorg/jruby/ast/java_signature/ParameterNode;>;)V
MethodParameters:
Name Flags
name
parameterList
public org.jruby.ast.java_signature.TypeNode getReturnType();
descriptor: ()Lorg/jruby/ast/java_signature/TypeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.returnType:Lorg/jruby/ast/java_signature/TypeNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/java_signature/MethodSignatureNode;
public void setReturnType(org.jruby.ast.java_signature.TypeNode);
descriptor: (Lorg/jruby/ast/java_signature/TypeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.ast.java_signature.MethodSignatureNode.returnType:Lorg/jruby/ast/java_signature/TypeNode;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ast/java_signature/MethodSignatureNode;
0 2 1 returnType Lorg/jruby/ast/java_signature/TypeNode;
MethodParameters:
Name Flags
returnType
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, 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 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.modifiers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jruby.ast.java_signature.MethodSignatureNode java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.extraTypeInfo:Ljava/lang/String;
ifnull 7
6: aload 1
aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.extraTypeInfo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: StackMap locals: org.jruby.ast.java_signature.MethodSignatureNode java.lang.StringBuilder
StackMap stack:
aload 1
aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.returnType:Lorg/jruby/ast/java_signature/TypeNode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.parameterList:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 10: iconst_0
istore 3
start local 3 11: goto 14
12: StackMap locals: int int
StackMap stack:
aload 1
aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.parameterList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iload 2
iconst_1
isub
if_icmplt 12
end local 3 15: iload 2
ifle 16
aload 1
aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.parameterList:Ljava/util/List;
iload 2
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.throwTypes:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
18: iload 2
ifle 26
19: aload 1
ldc " throws "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: iconst_0
istore 3
start local 3 21: goto 24
22: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.throwTypes:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: iinc 3 1
StackMap locals:
StackMap stack:
24: iload 3
iload 2
iconst_1
isub
if_icmplt 22
end local 3 25: aload 1
aload 0
getfield org.jruby.ast.java_signature.MethodSignatureNode.throwTypes:Ljava/util/List;
iload 2
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
26: StackMap locals:
StackMap stack:
aload 1
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 27 0 this Lorg/jruby/ast/java_signature/MethodSignatureNode;
1 27 1 builder Ljava/lang/StringBuilder;
3 4 2 modifier Ljava/lang/Object;
10 27 2 length I
11 15 3 i I
21 25 3 i I
}
SourceFile: "MethodSignatureNode.java"