public class org.jruby.ast.java_signature.Annotation implements org.jruby.ast.java_signature.AnnotationExpression
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.java_signature.Annotation
super_class: java.lang.Object
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List<org.jruby.ast.java_signature.AnnotationParameter> parameters;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/jruby/ast/java_signature/AnnotationParameter;>;
public void <init>(java.lang.String, java.util.List<org.jruby.ast.java_signature.AnnotationParameter>);
descriptor: (Ljava/lang/String;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
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
putfield org.jruby.ast.java_signature.Annotation.name:Ljava/lang/String;
2: aload 0
aload 2
putfield org.jruby.ast.java_signature.Annotation.parameters:Ljava/util/List;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ast/java_signature/Annotation;
0 4 1 name Ljava/lang/String;
0 4 2 parameters Ljava/util/List<Lorg/jruby/ast/java_signature/AnnotationParameter;>;
Signature: (Ljava/lang/String;Ljava/util/List<Lorg/jruby/ast/java_signature/AnnotationParameter;>;)V
MethodParameters:
Name Flags
name
parameters
public boolean isAnnotation();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/java_signature/Annotation;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.java_signature.Annotation.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/java_signature/Annotation;
public java.util.List<org.jruby.ast.java_signature.AnnotationParameter> getParameters();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.java_signature.Annotation.parameters:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/java_signature/Annotation;
Signature: ()Ljava/util/List<Lorg/jruby/ast/java_signature/AnnotationParameter;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.jruby.ast.java_signature.Annotation.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ast.java_signature.Annotation.toStringParameters:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/java_signature/Annotation;
public java.lang.String toStringParameters();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.java_signature.Annotation.parameters:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 1
start local 1 1: iload 1
ifne 2
ldc ""
areturn
2: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
aload 0
getfield org.jruby.ast.java_signature.Annotation.parameters: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
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 1
iconst_1
isub
if_icmplt 5
end local 3 8: aload 2
aload 0
getfield org.jruby.ast.java_signature.Annotation.parameters:Ljava/util/List;
iload 1
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
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 this Lorg/jruby/ast/java_signature/Annotation;
1 10 1 length I
3 10 2 buf Ljava/lang/StringBuilder;
4 8 3 i I
}
SourceFile: "Annotation.java"