Home
last modified time | relevance | path

Searched refs:ElementValueGen (Results 1 – 12 of 12) sorted by relevance

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DArrayElementValueGen.java31 public class ArrayElementValueGen extends ElementValueGen
35 private final List<ElementValueGen> evalues;
53 evalues.add(ElementValueGen.copy(datum, cpool, true)); in ArrayElementValueGen()
65 for (final ElementValueGen element : evalues) { in getElementValue()
84 evalues.add(ElementValueGen.copy(element, cpool, copyPoolEntries)); in ArrayElementValueGen()
93 for (final ElementValueGen element : evalues) { in dump()
104 for (final ElementValueGen element : evalues) { in stringifyValue()
113 public List<ElementValueGen> getElementValues() in getElementValues()
123 public void addElement(final ElementValueGen gen) in addElement()
DElementValuePairGen.java34 private final ElementValueGen value;
58 value = ElementValueGen.copy(nvp.getValue(), cpool, copyPoolEntries); in ElementValuePairGen()
71 protected ElementValuePairGen(final int idx, final ElementValueGen value, in ElementValuePairGen()
79 public ElementValuePairGen(final String name, final ElementValueGen value, in ElementValuePairGen()
104 public final ElementValueGen getValue() in getValue()
DClassElementValueGen.java30 public class ClassElementValueGen extends ElementValueGen
39 super(ElementValueGen.CLASS, cpool); in ClassElementValueGen()
45 super(ElementValueGen.CLASS, cpool); in ClassElementValueGen()
DElementValueGen.java35 public abstract class ElementValueGen class
49 protected ElementValueGen(final int type, final ConstantPoolGen cpGen) in ElementValueGen() method in ElementValueGen
95 public static ElementValueGen readElementValue(final DataInput dis, in readElementValue()
162 public static ElementValueGen copy(final ElementValue value, in copy()
DEnumElementValueGen.java30 public class EnumElementValueGen extends ElementValueGen
45 super(ElementValueGen.ENUM_CONSTANT, cpool); in EnumElementValueGen()
68 super(ElementValueGen.ENUM_CONSTANT, cpool); in EnumElementValueGen()
DAnnotationElementValueGen.java29 public class AnnotationElementValueGen extends ElementValueGen
DSimpleElementValueGen.java34 public class SimpleElementValueGen extends ElementValueGen
DAnnotationEntryGen.java112 ElementValueGen.readElementValue(dis, cpool), cpool)); in read()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DElementValueGenTestCase.java30 import org.apache.bcel.generic.ElementValueGen;
51 ElementValueGen.PRIMITIVE_INT, cp, 555); in testCreateIntegerElementValue()
65 ElementValueGen.PRIMITIVE_FLOAT, cp, 111.222f); in testCreateFloatElementValue()
79 ElementValueGen.PRIMITIVE_DOUBLE, cp, 333.44); in testCreateDoubleElementValue()
93 ElementValueGen.PRIMITIVE_LONG, cp, 3334455L); in testCreateLongElementValue()
107 ElementValueGen.PRIMITIVE_CHAR, cp, 't'); in testCreateCharElementValue()
121 ElementValueGen.PRIMITIVE_CHAR, cp, (byte) 'z'); in testCreateByteElementValue()
135 ElementValueGen.PRIMITIVE_BOOLEAN, cp, true); in testCreateBooleanElementValue()
149 ElementValueGen.PRIMITIVE_SHORT, cp, (short) 42); in testCreateShortElementValue()
166 ElementValueGen.STRING, cp, "hello"); in testCreateStringElementValue()
[all …]
DAbstractTestCase.java31 import org.apache.bcel.generic.ElementValueGen;
201 ElementValueGen.STRING, cp, aFruit); in createFruitAnnotationEntry()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DAnnotationGenTestCase.java53 ElementValueGen.PRIMITIVE_INT, cp, 4); in testConstructMutableAnnotation()
78 ElementValueGen.PRIMITIVE_INT, cp, 4); in testVisibleInvisibleAnnotationGen()
DGeneratingAnnotatedClassesTestCase.java240 final ElementValueGen value = nvp.getValue(); in testTransformClassToClassGen_ArrayAndAnnotationTypes()
247 final ElementValueGen innerValue = arrayValue.getElementValues().get(0); in testTransformClassToClassGen_ArrayAndAnnotationTypes()
635 ElementValueGen.PRIMITIVE_INT, cp, 4); in createSimpleVisibleAnnotation()
648 ElementValueGen.STRING, cp, aFruit); in createFruitAnnotation()
672 ElementValueGen.PRIMITIVE_INT, cp, 4); in createSimpleInvisibleAnnotation()