public class com.sun.org.apache.bcel.internal.generic.EnumElementValueGen extends com.sun.org.apache.bcel.internal.generic.ElementValueGen
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.generic.EnumElementValueGen
super_class: com.sun.org.apache.bcel.internal.generic.ElementValueGen
{
private int typeIdx;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int valueIdx;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>(int, int, com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (IILcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
bipush 101
aload 3
invokespecial com.sun.org.apache.bcel.internal.generic.ElementValueGen.<init>:(ILcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
1: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.ElementValueGen.getElementValueType:()I
bipush 101
if_icmpeq 7
2: new java.lang.RuntimeException
dup
3: new java.lang.StringBuilder
dup
ldc "Only element values of type enum can be built with this ctor - type specified: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.ElementValueGen.getElementValueType:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: com.sun.org.apache.bcel.internal.generic.EnumElementValueGen int int com.sun.org.apache.bcel.internal.generic.ConstantPoolGen
StackMap stack:
aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.typeIdx:I
8: aload 0
iload 2
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
0 10 1 typeIdx I
0 10 2 valueIdx I
0 10 3 cpool Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
MethodParameters:
Name Flags
typeIdx final
valueIdx final
cpool final
public com.sun.org.apache.bcel.internal.classfile.ElementValue getElementValue();
descriptor: ()Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Duplicating value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.getEnumTypeString:()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;
1: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.getEnumValueString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: new com.sun.org.apache.bcel.internal.classfile.EnumElementValue
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.ElementValueGen.getElementValueType:()I
aload 0
getfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.typeIdx:I
aload 0
getfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
4: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
5: invokespecial com.sun.org.apache.bcel.internal.classfile.EnumElementValue.<init>:(IIILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
public void <init>(com.sun.org.apache.bcel.internal.generic.ObjectType, java.lang.String, com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/ObjectType;Ljava/lang/String;Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
bipush 101
aload 3
invokespecial com.sun.org.apache.bcel.internal.generic.ElementValueGen.<init>:(ILcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
1: aload 0
aload 3
aload 1
invokevirtual com.sun.org.apache.bcel.internal.generic.ObjectType.getSignature:()Ljava/lang/String;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addUtf8:(Ljava/lang/String;)I
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.typeIdx:I
2: aload 0
aload 3
aload 2
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addUtf8:(Ljava/lang/String;)I
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
0 4 1 t Lcom/sun/org/apache/bcel/internal/generic/ObjectType;
0 4 2 value Ljava/lang/String;
0 4 3 cpool Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
MethodParameters:
Name Flags
t final
value final
cpool final
public void <init>(com.sun.org.apache.bcel.internal.classfile.EnumElementValue, com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, boolean);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/EnumElementValue;Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
bipush 101
aload 2
invokespecial com.sun.org.apache.bcel.internal.generic.ElementValueGen.<init>:(ILcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
1: iload 3
ifeq 5
2: aload 0
aload 2
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.EnumElementValue.getEnumTypeString:()Ljava/lang/String;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addUtf8:(Ljava/lang/String;)I
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.typeIdx:I
3: aload 0
aload 2
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.EnumElementValue.getEnumValueString:()Ljava/lang/String;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addUtf8:(Ljava/lang/String;)I
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
4: goto 7
5: StackMap locals: com.sun.org.apache.bcel.internal.generic.EnumElementValueGen com.sun.org.apache.bcel.internal.classfile.EnumElementValue com.sun.org.apache.bcel.internal.generic.ConstantPoolGen int
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.EnumElementValue.getTypeIndex:()I
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.typeIdx:I
6: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.EnumElementValue.getValueIndex:()I
putfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
0 8 1 value Lcom/sun/org/apache/bcel/internal/classfile/EnumElementValue;
0 8 2 cpool Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
0 8 3 copyPoolEntries Z
MethodParameters:
Name Flags
value final
cpool final
copyPoolEntries 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.generic.ElementValueGen.getElementValueType:()I
invokevirtual java.io.DataOutputStream.writeByte:(I)V
1: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.typeIdx:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
2: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
0 4 1 dos Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dos final
public java.lang.String stringifyValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstant:(I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
astore 1
start local 1 1: aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
1 2 1 cu8 Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
public java.lang.String getEnumTypeString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.typeIdx:I
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstant:(I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
1: invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
public java.lang.String getEnumValueString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.EnumElementValueGen.valueIdx:I
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstant:(I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
public int getValueIndex();
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.generic.EnumElementValueGen.valueIdx:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
public int getTypeIndex();
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.generic.EnumElementValueGen.typeIdx:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/EnumElementValueGen;
}
SourceFile: "EnumElementValueGen.java"