Home
last modified time | relevance | path

Searched refs:valueIdx (Results 1 – 2 of 2) sorted by relevance

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DEnumElementValueGen.java35 private int valueIdx; field in EnumElementValueGen
42 protected EnumElementValueGen(final int typeIdx, final int valueIdx, in EnumElementValueGen() argument
51 this.valueIdx = valueIdx; in EnumElementValueGen()
62 return new EnumElementValue(super.getElementValueType(), typeIdx, valueIdx, in getElementValue()
70 valueIdx = cpool.addUtf8(value);// was addString(value); in EnumElementValueGen()
81 valueIdx = cpool.addUtf8(value.getEnumValueString()); // was in EnumElementValueGen()
87 valueIdx = value.getValueIndex(); in EnumElementValueGen()
96 dos.writeShort(valueIdx); // u2 in dump()
102 final ConstantUtf8 cu8 = (ConstantUtf8) getConstantPool().getConstant(valueIdx); in stringifyValue()
126 return ((ConstantUtf8) getConstantPool().getConstant(valueIdx)).getBytes(); in getEnumValueString()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DEnumElementValue.java33 private final int valueIdx; field in EnumElementValue
35 public EnumElementValue(final int type, final int typeIdx, final int valueIdx, in EnumElementValue() argument
44 this.valueIdx = valueIdx; in EnumElementValue()
52 dos.writeShort(valueIdx); // u2 in dump()
58 final ConstantUtf8 cu8 = (ConstantUtf8) super.getConstantPool().getConstant(valueIdx, in stringifyValue()
72 final ConstantUtf8 cu8 = (ConstantUtf8) super.getConstantPool().getConstant(valueIdx, in getEnumValueString()
79 return valueIdx; in getValueIndex()