public final class com.sun.org.apache.bcel.internal.classfile.ConstantValue extends com.sun.org.apache.bcel.internal.classfile.Attribute
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.classfile.ConstantValue
super_class: com.sun.org.apache.bcel.internal.classfile.Attribute
{
private int constantvalue_index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.org.apache.bcel.internal.classfile.ConstantValue);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantValue.getNameIndex:()I
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantValue.getLength:()I
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantValue.getConstantValueIndex:()I
1: aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantValue.getConstantPool:()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantValue.<init>:(IIILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
0 3 1 c Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
MethodParameters:
Name Flags
c
void <init>(int, int, java.io.DataInputStream, com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (IILjava/io/DataInputStream;Lcom/sun/org/apache/bcel/internal/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 com.sun.org.apache.bcel.internal.classfile.ConstantValue.<init>:(IIILcom/sun/org/apache/bcel/internal/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 Lcom/sun/org/apache/bcel/internal/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 Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name_index
length
file
constant_pool
public void <init>(int, int, int, com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (IIILcom/sun/org/apache/bcel/internal/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 com.sun.org.apache.bcel.internal.classfile.Attribute.<init>:(BIILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
1: aload 0
iload 3
putfield com.sun.org.apache.bcel.internal.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 Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
0 3 1 name_index I
0 3 2 length I
0 3 3 constantvalue_index I
0 3 4 constant_pool Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
MethodParameters:
Name Flags
name_index
length
constantvalue_index
constant_pool
public void accept(com.sun.org.apache.bcel.internal.classfile.Visitor);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/Visitor;)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 com.sun.org.apache.bcel.internal.classfile.Visitor.visitConstantValue:(Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
0 2 1 v Lcom/sun/org/apache/bcel/internal/classfile/Visitor;
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 com.sun.org.apache.bcel.internal.classfile.Attribute.dump:(Ljava/io/DataOutputStream;)V
1: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.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 Lcom/sun/org/apache/bcel/internal/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 com.sun.org.apache.bcel.internal.classfile.ConstantValue.constantvalue_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
public final void setConstantValueIndex(int);
descriptor: (I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.classfile.ConstantValue.constantvalue_index:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
0 2 1 constantvalue_index I
MethodParameters:
Name Flags
constantvalue_index
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 com.sun.org.apache.bcel.internal.classfile.ConstantValue.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantValue.constantvalue_index:I
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 1
start local 1 1: aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.Constant.getTag:()B
tableswitch { // 3 - 8
3: 8
4: 4
5: 2
6: 6
7: 14
8: 10
default: 14
}
2: StackMap locals: com.sun.org.apache.bcel.internal.classfile.Constant
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantLong
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantLong.getBytes:()J
invokevirtual java.lang.StringBuilder.append:(J)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 com.sun.org.apache.bcel.internal.classfile.ConstantFloat
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantFloat.getBytes:()F
invokevirtual java.lang.StringBuilder.append:(F)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 com.sun.org.apache.bcel.internal.classfile.ConstantDouble
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantDouble.getBytes:()D
invokevirtual java.lang.StringBuilder.append:(D)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 com.sun.org.apache.bcel.internal.classfile.ConstantInteger
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantInteger.getBytes:()I
invokevirtual java.lang.StringBuilder.append:(I)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 com.sun.org.apache.bcel.internal.classfile.ConstantString
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantString.getStringIndex:()I
istore 3
start local 3 11: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantValue.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
iload 3
iconst_1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 1
12: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
invokestatic com.sun.org.apache.bcel.internal.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 Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
1 16 1 c Lcom/sun/org/apache/bcel/internal/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
public com.sun.org.apache.bcel.internal.classfile.Attribute copy(com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantValue.clone:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantValue
astore 2
start local 2 1: aload 2
aload 1
putfield com.sun.org.apache.bcel.internal.classfile.ConstantValue.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
0 3 1 constant_pool Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
1 3 2 c Lcom/sun/org/apache/bcel/internal/classfile/ConstantValue;
MethodParameters:
Name Flags
constant_pool
}
SourceFile: "ConstantValue.java"