Home
last modified time | relevance | path

Searched refs:ConstantPoolGen (Results 1 – 25 of 99) sorted by relevance

1234

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DPUSH.java39 public PUSH(final ConstantPoolGen cp, final int value) { in PUSH()
56 public PUSH(final ConstantPoolGen cp, final boolean value) { in PUSH()
65 public PUSH(final ConstantPoolGen cp, final float value) { in PUSH()
82 public PUSH(final ConstantPoolGen cp, final long value) { in PUSH()
97 public PUSH(final ConstantPoolGen cp, final double value) { in PUSH()
112 public PUSH(final ConstantPoolGen cp, final String value) { in PUSH()
126 public PUSH(final ConstantPoolGen cp, final ObjectType value) { in PUSH()
138 public PUSH(final ConstantPoolGen cp, final Number value) { in PUSH()
160 public PUSH(final ConstantPoolGen cp, final Character value) { in PUSH()
169 public PUSH(final ConstantPoolGen cp, final Boolean value) { in PUSH()
DInvokeInstruction.java69 public int consumeStack( final ConstantPoolGen cpg ) { in consumeStack()
89 public int produceStack( final ConstantPoolGen cpg ) { in produceStack()
102 public String getClassName( final ConstantPoolGen cpg ) { in getClassName()
112 public Type getType( final ConstantPoolGen cpg ) { in getType()
119 public String getMethodName( final ConstantPoolGen cpg ) { in getMethodName()
126 public Type getReturnType( final ConstantPoolGen cpg ) { in getReturnType()
133 public Type[] getArgumentTypes( final ConstantPoolGen cpg ) { in getArgumentTypes()
DSimpleElementValueGen.java47 protected SimpleElementValueGen(final int type, final int idx, final ConstantPoolGen cpGen) in SimpleElementValueGen()
53 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final int value) in SimpleElementValueGen()
59 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final long value) in SimpleElementValueGen()
65 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final double value) in SimpleElementValueGen()
71 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final float value) in SimpleElementValueGen()
77 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final short value) in SimpleElementValueGen()
83 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final byte value) in SimpleElementValueGen()
89 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final char value) in SimpleElementValueGen()
95 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final boolean value) in SimpleElementValueGen()
105 public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final String value) in SimpleElementValueGen()
[all …]
DFieldOrMethod.java52 public String getSignature( final ConstantPoolGen cpg ) { in getSignature()
62 public String getName( final ConstantPoolGen cpg ) { in getName()
82 public String getClassName( final ConstantPoolGen cpg ) { in getClassName()
100 public ObjectType getClassType( final ConstantPoolGen cpg ) { in getClassType()
113 public ReferenceType getReferenceType( final ConstantPoolGen cpg ) { in getReferenceType()
132 public ObjectType getLoadClassType( final ConstantPoolGen cpg ) { in getLoadClassType()
DFieldInstruction.java57 protected int getFieldSize( final ConstantPoolGen cpg ) { in getFieldSize()
65 public Type getType( final ConstantPoolGen cpg ) { in getType()
72 public Type getFieldType( final ConstantPoolGen cpg ) { in getFieldType()
79 public String getFieldName( final ConstantPoolGen cpg ) { in getFieldName()
DElementValuePairGen.java36 private final ConstantPoolGen cpool;
38 public ElementValuePairGen(final ElementValuePair nvp, final ConstantPoolGen cpool, in ElementValuePairGen()
72 final ConstantPoolGen cpool) in ElementValuePairGen()
80 final ConstantPoolGen cpool) in ElementValuePairGen()
DElementValueGen.java47 protected ConstantPoolGen cpGen;
49 protected ElementValueGen(final int type, final ConstantPoolGen cpGen) in ElementValueGen()
96 final ConstantPoolGen cpGen) throws IOException in readElementValue()
153 protected ConstantPoolGen getConstantPool() in getConstantPool()
163 final ConstantPoolGen cpool, final boolean copyPoolEntries) in copy()
DAnnotationEntryGen.java46 private final ConstantPoolGen cpool;
58 public AnnotationEntryGen(final AnnotationEntry a, final ConstantPoolGen cpool, in AnnotationEntryGen()
70 …private List<ElementValuePairGen> copyValues(final ElementValuePair[] in, final ConstantPoolGen cp… in copyValues()
79 private AnnotationEntryGen(final ConstantPoolGen cpool) { in AnnotationEntryGen()
97 final ConstantPoolGen cpool) { in AnnotationEntryGen()
105 … final ConstantPoolGen cpool, final boolean b) throws IOException { in read()
199 …static Attribute[] getAnnotationAttributes(final ConstantPoolGen cp, final AnnotationEntryGen[] an… in getAnnotationAttributes()
275 final ConstantPoolGen cp, in getParameterAnnotationAttributes()
DNameSignatureInstruction.java42 public ConstantNameAndType getNameAndType(final ConstantPoolGen cpg) { in getNameAndType()
49 public String getSignature(final ConstantPoolGen cpg) { in getSignature()
57 public String getName(final ConstantPoolGen cpg) { in getName()
DAnnotationElementValueGen.java34 public AnnotationElementValueGen(final AnnotationEntryGen a, final ConstantPoolGen cpool) in AnnotationElementValueGen()
41 final ConstantPoolGen cpool) in AnnotationElementValueGen()
52 final ConstantPoolGen cpool, final boolean copyPoolEntries) in AnnotationElementValueGen()
DClassElementValueGen.java37 protected ClassElementValueGen(final int typeIdx, final ConstantPoolGen cpool) in ClassElementValueGen()
43 public ClassElementValueGen(final ObjectType t, final ConstantPoolGen cpool) in ClassElementValueGen()
61 public ClassElementValueGen(final ClassElementValue value, final ConstantPoolGen cpool, in ClassElementValueGen()
DLoadClass.java34 ObjectType getLoadClassType( ConstantPoolGen cpg ); in getLoadClassType()
49 Type getType( ConstantPoolGen cpg ); in getType()
DFieldGenOrMethodGen.java51 protected ConstantPoolGen cp;
99 public ConstantPoolGen getConstantPool() { in getConstantPool()
104 public void setConstantPool( final ConstantPoolGen cp ) { // TODO could be package-protected? in setConstantPool()
DEnumElementValueGen.java43 final ConstantPoolGen cpool) in EnumElementValueGen()
66 public EnumElementValueGen(final ObjectType t, final String value, final ConstantPoolGen cpool) in EnumElementValueGen()
73 public EnumElementValueGen(final EnumElementValue value, final ConstantPoolGen cpool, in EnumElementValueGen()
DArrayElementValueGen.java37 public ArrayElementValueGen(final ConstantPoolGen cp) in ArrayElementValueGen()
44 final ConstantPoolGen cpool) in ArrayElementValueGen()
77 public ArrayElementValueGen(final ArrayElementValue value, final ConstantPoolGen cpool, in ArrayElementValueGen()
DClassGen.java55 private ConstantPoolGen cp; // Template for building up constant pool
91 final String[] interfaces, final ConstantPoolGen cp) { in ClassGen()
123 new ConstantPoolGen()); in ClassGen()
138 cp = new ConstantPoolGen(clazz.getConstantPool()); in ClassGen()
490 public ConstantPoolGen getConstantPool() { in getConstantPool()
495 public void setConstantPool( final ConstantPoolGen constant_pool ) { in setConstantPool()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DElementValueGenTestCase.java29 import org.apache.bcel.generic.ConstantPoolGen;
49 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateIntegerElementValue()
63 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateFloatElementValue()
77 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateDoubleElementValue()
91 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateLongElementValue()
105 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateCharElementValue()
119 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateByteElementValue()
133 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateBooleanElementValue()
147 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateShortElementValue()
164 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateStringElementValue()
[all …]
DPLSETestCase.java26 import org.apache.bcel.generic.ConstantPoolGen;
43 final ConstantPoolGen pool = gen.getConstantPool(); in testB208()
59 final ConstantPoolGen pool = gen.getConstantPool(); in testB79()
77 final ConstantPoolGen pool = gen.getConstantPool(); in testB262()
98 final ConstantPoolGen pool = cg.getConstantPool(); in testB295()
DLocalVariableTypeTableTestCase.java24 import org.apache.bcel.generic.ConstantPoolGen;
68 final ConstantPoolGen cp = new ConstantPoolGen(clazz.getConstantPool()); in getBytesFromClass()
84 …public Method injection(final JavaClass clazz, Method method, final ConstantPoolGen cp, final int … in injection()
116 public InstructionList createPrintln(final ConstantPoolGen cp, final Instruction instruction) { in createPrintln()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/classfile/
DConstantPoolTestCase.java21 import org.apache.bcel.generic.ConstantPoolGen;
31 final ConstantPoolGen cp = new ConstantPoolGen(clazz.getConstantPool()); in testConstantToString()
44 …private InstructionHandle[] getInstructionHandles(final JavaClass clazz, final ConstantPoolGen cp,… in getInstructionHandles()
/external/apache-commons-bcel/src/examples/
Dmaxstack.java23 import org.apache.bcel.generic.ConstantPoolGen;
42 ConstantPoolGen cp = new ConstantPoolGen(java_class.getConstantPool()); in main()
DPeephole.java24 import org.apache.bcel.generic.ConstantPoolGen;
44 ConstantPoolGen cp = new ConstantPoolGen(clazz.getConstantPool()); in main()
Dhelloify.java28 import org.apache.bcel.generic.ConstantPoolGen;
46 private static ConstantPoolGen cp;
56 cp = new ConstantPoolGen(constants); in main()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DGeneratingAnnotatedClassesTestCase.java79 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateClassLevelAnnotations()
122 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateMethodLevelAnnotations1()
162 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateMethodLevelAnnotations2()
367 final ConstantPoolGen cp = cgen.getConstantPool(); in testModifyingClasses1()
384 final ConstantPoolGen cp = cgen.getConstantPool(); in testModifyingClasses2()
415 final ConstantPoolGen cp, final InstructionList il) in buildClassContentsWithAnnotatedMethods()
510 private void buildClassContents(final ClassGen cg, final ConstantPoolGen cp, in buildClassContents()
620 final ConstantPoolGen cp) in createMethodGen()
632 public AnnotationEntryGen createSimpleVisibleAnnotation(final ConstantPoolGen cp) in createSimpleVisibleAnnotation()
644 public AnnotationEntryGen createFruitAnnotation(final ConstantPoolGen cp, in createFruitAnnotation()
[all …]
/external/apache-commons-bcel/src/examples/Mini/
DASTInteger.java22 import org.apache.bcel.generic.ConstantPoolGen;
90 public void byte_code(InstructionList il, MethodGen method, ConstantPoolGen cp) { in byte_code()

1234