public final class com.sun.org.apache.bcel.internal.classfile.ConstantClass extends com.sun.org.apache.bcel.internal.classfile.Constant implements com.sun.org.apache.bcel.internal.classfile.ConstantObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.classfile.ConstantClass
super_class: com.sun.org.apache.bcel.internal.classfile.Constant
{
private int name_index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.org.apache.bcel.internal.classfile.ConstantClass);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantClass.getNameIndex:()I
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantClass.<init>:(I)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/ConstantClass;
0 2 1 c Lcom/sun/org/apache/bcel/internal/classfile/ConstantClass;
MethodParameters:
Name Flags
c final
void <init>(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.io.DataInput.readUnsignedShort:()I
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantClass.<init>:(I)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/ConstantClass;
0 2 1 dataInput Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput final
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 7
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.<init>:(B)V
1: aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.classfile.ConstantClass.name_index:I
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/ConstantClass;
0 3 1 name_index I
MethodParameters:
Name Flags
name_index final
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.visitConstantClass:(Lcom/sun/org/apache/bcel/internal/classfile/ConstantClass;)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/ConstantClass;
0 2 1 v Lcom/sun/org/apache/bcel/internal/classfile/Visitor;
MethodParameters:
Name Flags
v final
public void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.getTag:()B
invokevirtual java.io.DataOutputStream.writeByte:(I)V
1: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantClass.name_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/ConstantClass;
0 3 1 file Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file final
public int getNameIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantClass.name_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantClass;
public void setNameIndex(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
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.ConstantClass.name_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/ConstantClass;
0 2 1 name_index I
MethodParameters:
Name Flags
name_index final
public java.lang.Object getConstantValue(com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantClass.name_index:I
iconst_1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 2
start local 2 1: aload 2
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
areturn
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/ConstantClass;
0 2 1 cp Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
1 2 2 c Lcom/sun/org/apache/bcel/internal/classfile/Constant;
MethodParameters:
Name Flags
cp final
public java.lang.String getBytes(com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantClass.getConstantValue:(Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantClass;
0 1 1 cp Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
MethodParameters:
Name Flags
cp final
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
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "(name_index = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantClass.name_index:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
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 Lcom/sun/org/apache/bcel/internal/classfile/ConstantClass;
}
SourceFile: "ConstantClass.java"