public final class org.aspectj.apache.bcel.classfile.ConstantValue extends org.aspectj.apache.bcel.classfile.Attribute
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.aspectj.apache.bcel.classfile.ConstantValue
super_class: org.aspectj.apache.bcel.classfile.Attribute
{
private int constantvalue_index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(int, int, java.io.DataInputStream, org.aspectj.apache.bcel.classfile.ConstantPool);
descriptor: (IILjava/io/DataInputStream;Lorg/aspectj/apache/bcel/classfile/ConstantPool;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
aload 3
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
aload 4
invokespecial org.aspectj.apache.bcel.classfile.ConstantValue.<init>:(IIILorg/aspectj/apache/bcel/classfile/ConstantPool;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/apache/bcel/classfile/ConstantValue;
0 2 1 name_index I
0 2 2 length I
0 2 3 file Ljava/io/DataInputStream;
0 2 4 constant_pool Lorg/aspectj/apache/bcel/classfile/ConstantPool;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name_index
length
file
constant_pool
public void <init>(int, int, int, org.aspectj.apache.bcel.classfile.ConstantPool);
descriptor: (IIILorg/aspectj/apache/bcel/classfile/ConstantPool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_1
iload 1
iload 2
aload 4
invokespecial org.aspectj.apache.bcel.classfile.Attribute.<init>:(BIILorg/aspectj/apache/bcel/classfile/ConstantPool;)V
1: aload 0
iload 3
putfield org.aspectj.apache.bcel.classfile.ConstantValue.constantvalue_index:I
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/apache/bcel/classfile/ConstantValue;
0 3 1 name_index I
0 3 2 length I
0 3 3 constantvalue_index I
0 3 4 constant_pool Lorg/aspectj/apache/bcel/classfile/ConstantPool;
MethodParameters:
Name Flags
name_index
length
constantvalue_index
constant_pool
public void accept(org.aspectj.apache.bcel.classfile.ClassVisitor);
descriptor: (Lorg/aspectj/apache/bcel/classfile/ClassVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.aspectj.apache.bcel.classfile.ClassVisitor.visitConstantValue:(Lorg/aspectj/apache/bcel/classfile/ConstantValue;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/apache/bcel/classfile/ConstantValue;
0 2 1 v Lorg/aspectj/apache/bcel/classfile/ClassVisitor;
MethodParameters:
Name Flags
v
public final void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.aspectj.apache.bcel.classfile.Attribute.dump:(Ljava/io/DataOutputStream;)V
1: aload 1
aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantValue.constantvalue_index:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/apache/bcel/classfile/ConstantValue;
0 3 1 file Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public final int getConstantValueIndex();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantValue.constantvalue_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/apache/bcel/classfile/ConstantValue;
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantValue.cpool:Lorg/aspectj/apache/bcel/classfile/ConstantPool;
aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantValue.constantvalue_index:I
invokevirtual org.aspectj.apache.bcel.classfile.ConstantPool.getConstant:(I)Lorg/aspectj/apache/bcel/classfile/Constant;
astore 1
start local 1 1: aload 1
invokevirtual org.aspectj.apache.bcel.classfile.Constant.getTag:()B
tableswitch { // 3 - 8
3: 8
4: 4
5: 2
6: 6
7: 14
8: 10
default: 14
}
2: StackMap locals: org.aspectj.apache.bcel.classfile.Constant
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast org.aspectj.apache.bcel.classfile.ConstantLong
invokevirtual org.aspectj.apache.bcel.classfile.ConstantLong.getValue:()Ljava/lang/Long;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 3: goto 15
end local 2 4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast org.aspectj.apache.bcel.classfile.ConstantFloat
invokevirtual org.aspectj.apache.bcel.classfile.ConstantFloat.getValue:()Ljava/lang/Float;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 5: goto 15
end local 2 6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast org.aspectj.apache.bcel.classfile.ConstantDouble
invokevirtual org.aspectj.apache.bcel.classfile.ConstantDouble.getValue:()Ljava/lang/Double;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 7: goto 15
end local 2 8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast org.aspectj.apache.bcel.classfile.ConstantInteger
invokevirtual org.aspectj.apache.bcel.classfile.ConstantInteger.getValue:()Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 9: goto 15
end local 2 10: StackMap locals:
StackMap stack:
aload 1
checkcast org.aspectj.apache.bcel.classfile.ConstantString
invokevirtual org.aspectj.apache.bcel.classfile.ConstantString.getStringIndex:()I
istore 3
start local 3 11: aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantValue.cpool:Lorg/aspectj/apache/bcel/classfile/ConstantPool;
iload 3
iconst_1
invokevirtual org.aspectj.apache.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/aspectj/apache/bcel/classfile/Constant;
astore 1
12: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast org.aspectj.apache.bcel.classfile.ConstantUtf8
invokevirtual org.aspectj.apache.bcel.classfile.ConstantUtf8.getValue:()Ljava/lang/String;
invokestatic org.aspectj.apache.bcel.classfile.Utility.convertString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 13: goto 15
end local 3 end local 2 14: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Type of ConstValue invalid: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
start local 2 15: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/aspectj/apache/bcel/classfile/ConstantValue;
1 16 1 c Lorg/aspectj/apache/bcel/classfile/Constant;
3 4 2 buf Ljava/lang/String;
5 6 2 buf Ljava/lang/String;
7 8 2 buf Ljava/lang/String;
9 10 2 buf Ljava/lang/String;
13 14 2 buf Ljava/lang/String;
15 16 2 buf Ljava/lang/String;
11 14 3 i I
}
SourceFile: "ConstantValue.java"