Home
last modified time | relevance | path

Searched refs:getElementValueType (Results 1 – 9 of 9) sorted by relevance

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DSimpleElementValueGen.java119 super(value.getElementValueType(), cpool); in SimpleElementValueGen()
128 switch (value.getElementValueType()) in SimpleElementValueGen()
166 … "SimpleElementValueGen class does not know how to copy this type " + super.getElementValueType()); in SimpleElementValueGen()
177 …return new SimpleElementValue(super.getElementValueType(), idx, getConstantPool().getConstantPool(… in getElementValue()
187 if (super.getElementValueType() != STRING) { in getValueString()
197 if (super.getElementValueType() != PRIMITIVE_INT) { in getValueInt()
209 switch (super.getElementValueType()) in stringifyValue()
243 … "SimpleElementValueGen class does not know how to stringify type " + super.getElementValueType()); in stringifyValue()
250 dos.writeByte(super.getElementValueType()); // u1 kind of value in dump()
251 switch (super.getElementValueType()) in dump()
[all …]
DEnumElementValueGen.java46 if (super.getElementValueType() != ENUM_CONSTANT) { in EnumElementValueGen()
48 …values of type enum can be built with this ctor - type specified: " + super.getElementValueType()); in EnumElementValueGen()
62 return new EnumElementValue(super.getElementValueType(), typeIdx, valueIdx, in getElementValue()
94 dos.writeByte(super.getElementValueType()); // u1 type of value (ENUM_CONSTANT == 'e') in dump()
DElementValueGen.java60 public int getElementValueType() in getElementValueType() method in ElementValueGen
165 switch (value.getElementValueType()) in copy()
191 … throw new RuntimeException("Not implemented yet! (" + value.getElementValueType() + ")"); in copy()
DAnnotationElementValueGen.java61 dos.writeByte(super.getElementValueType()); // u1 type of value (ANNOTATION == '@') in dump()
77 return new AnnotationElementValue(super.getElementValueType(), in getElementValue()
DClassElementValueGen.java56 return new ClassElementValue(super.getElementValueType(), in getElementValue()
100 dos.writeByte(super.getElementValueType()); // u1 kind of value in dump()
DArrayElementValueGen.java68 return new ArrayElementValue(super.getElementValueType(), in getElementValue()
91 dos.writeByte(super.getElementValueType()); // u1 type of value (ARRAY == '[') in dump()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DAnnotationDefaultAttributeTestCase.java41 assertTrue("Should be STRING but is " + val.getElementValueType(), val in testMethodAnnotations()
42 .getElementValueType() == ElementValue.STRING); in testMethodAnnotations()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DElementValue.java54 public int getElementValueType() in getElementValueType() method in ElementValue
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DGeneratingAnnotatedClassesTestCase.java106 + ev.getElementValueType(), in testGenerateClassLevelAnnotations()
107 ev.getElementValueType() == ElementValue.PRIMITIVE_INT); in testGenerateClassLevelAnnotations()