/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
D | ArrayElementValueGen.java | 31 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()
|
D | ElementValuePairGen.java | 34 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()
|
D | ClassElementValueGen.java | 30 public class ClassElementValueGen extends ElementValueGen 39 super(ElementValueGen.CLASS, cpool); in ClassElementValueGen() 45 super(ElementValueGen.CLASS, cpool); in ClassElementValueGen()
|
D | ElementValueGen.java | 35 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()
|
D | EnumElementValueGen.java | 30 public class EnumElementValueGen extends ElementValueGen 45 super(ElementValueGen.ENUM_CONSTANT, cpool); in EnumElementValueGen() 68 super(ElementValueGen.ENUM_CONSTANT, cpool); in EnumElementValueGen()
|
D | AnnotationElementValueGen.java | 29 public class AnnotationElementValueGen extends ElementValueGen
|
D | SimpleElementValueGen.java | 34 public class SimpleElementValueGen extends ElementValueGen
|
D | AnnotationEntryGen.java | 112 ElementValueGen.readElementValue(dis, cpool), cpool)); in read()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
D | ElementValueGenTestCase.java | 30 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 …]
|
D | AbstractTestCase.java | 31 import org.apache.bcel.generic.ElementValueGen; 201 ElementValueGen.STRING, cp, aFruit); in createFruitAnnotationEntry()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/ |
D | AnnotationGenTestCase.java | 53 ElementValueGen.PRIMITIVE_INT, cp, 4); in testConstructMutableAnnotation() 78 ElementValueGen.PRIMITIVE_INT, cp, 4); in testVisibleInvisibleAnnotationGen()
|
D | GeneratingAnnotatedClassesTestCase.java | 240 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()
|