Home
last modified time | relevance | path

Searched refs:MethodGen (Results 1 – 25 of 42) sorted by relevance

12

/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DPLSETestCase.java30 import org.apache.bcel.generic.MethodGen;
45 final MethodGen mg = new MethodGen(m, gen.getClassName(), pool); in testB208()
64 final MethodGen mg = new MethodGen(m, gen.getClassName(), pool); in testB79()
80 final MethodGen mg = new MethodGen(m, gen.getClassName(), pool); in testB262()
103 final MethodGen mg = new MethodGen(m, cg.getClassName(), pool); in testB295()
DLocalVariableTypeTableTestCase.java30 import org.apache.bcel.generic.MethodGen;
85 final MethodGen methodGen = new MethodGen(method, clazz.getClassName(), cp); in injection()
99 …public InstructionList makeWillBeAddedInstructionList(final MethodGen methodGen, final int firstSt… in makeWillBeAddedInstructionList()
DPerformanceTest.java35 import org.apache.bcel.generic.MethodGen;
102 … final MethodGen mg = new MethodGen(m, cg.getClassName(), cg.getConstantPool()); in test()
DBCELBenchmark.java31 import org.apache.bcel.generic.MethodGen;
110 MethodGen mg = new MethodGen(m, cg.getClassName(), cg.getConstantPool());
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DMethodGenTestCase.java53 … private MethodGen getMethod(final Class<?> cls, final String name) throws ClassNotFoundException { in getMethod()
58 return new MethodGen(method, jc.getClassName(), cp); in getMethod()
67 final MethodGen mg = getMethod(Foo.class, "bar"); in testRemoveLocalVariable()
88 final MethodGen mg = getMethod(Foo.class, "bar"); in testRemoveLocalVariables()
111 … final MethodGen mg = new MethodGen(cg.getMethodAt(0), cg.getClassName(), cg.getConstantPool()); in testAnnotationsAreUnpacked()
DGeneratingAnnotatedClassesTestCase.java142 final MethodGen mg = new MethodGen(m[0], cg2.getClassName(), cg2 in testGenerateMethodLevelAnnotations1()
173 final MethodGen mainMethod2 = new MethodGen(mainMethod1, cg2.getClassName(), in testGenerateMethodLevelAnnotations2()
418 final MethodGen mg = createMethodGen("main", il, cp); in buildClassContentsWithAnnotatedMethods()
514 final MethodGen mg = createMethodGen("main", il, cp); in buildClassContents()
619 private MethodGen createMethodGen(final String methodname, final InstructionList il, in createMethodGen()
622 return new MethodGen(Const.ACC_STATIC | Const.ACC_PUBLIC, // access in createMethodGen()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestReturn03Creator.java30 import org.apache.bcel.generic.MethodGen;
56 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC, Type.VOID, Type.NO_ARGS, new String[] { … in createMethod_0()
72 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC | Const.ACC_STATIC, Type.INT, Type.NO_ARGS, in createMethod_1()
DTestReturn01Creator.java30 import org.apache.bcel.generic.MethodGen;
56 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC, Type.VOID, Type.NO_ARGS, new String[] { … in createMethod_0()
72 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC | Const.ACC_STATIC, Type.VOID, Type.NO_ARG… in createMethod_1()
DTestArrayAccess04Creator.java31 import org.apache.bcel.generic.MethodGen;
58 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC, Type.VOID, Type.NO_ARGS, new String[] { … in createMethod_0()
74 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC | Const.ACC_STATIC, Type.VOID, new Type[] … in createMethod_1()
DTestArrayAccess03Creator.java30 import org.apache.bcel.generic.MethodGen;
58 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC, Type.VOID, Type.NO_ARGS, new String[] { … in createMethod_0()
74 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC | Const.ACC_STATIC, Type.VOID, new Type[] … in createMethod_1()
DTestArrayAccess02Creator.java30 import org.apache.bcel.generic.MethodGen;
58 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC, Type.VOID, Type.NO_ARGS, new String[] { … in createMethod_0()
74 …final MethodGen method = new MethodGen(Const.ACC_PUBLIC | Const.ACC_STATIC, Type.VOID, Type.NO_ARG… in createMethod_1()
/external/apache-commons-bcel/src/examples/
DPeephole.java28 import org.apache.bcel.generic.MethodGen;
48 MethodGen mg = new MethodGen(methods[i], clazz.getClassName(), cp); in main()
65 private static Method removeNOPs(MethodGen mg) { in removeNOPs()
Did.java26 import org.apache.bcel.generic.MethodGen;
55 MethodGen mg = new MethodGen(method, cg.getClassName(), cg.getConstantPool()); in main()
Dmaxstack.java24 import org.apache.bcel.generic.MethodGen;
46 MethodGen mg = new MethodGen(m, class_name, cp); in main()
DProxyCreator.java32 import org.apache.bcel.generic.MethodGen;
95 MethodGen mg = new MethodGen(Constants.ACC_PUBLIC, Type.VOID, in main()
Dhelloify.java34 import org.apache.bcel.generic.MethodGen;
109 MethodGen mg = new MethodGen(m, class_name, cp); in helloifyMethod()
DHelloWorldBuilder.java33 import org.apache.bcel.generic.MethodGen;
71 MethodGen mg = new MethodGen(Constants.ACC_STATIC | in main()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/classfile/
DConstantPoolTestCase.java24 import org.apache.bcel.generic.MethodGen;
45 final MethodGen methodGen = new MethodGen(method, clazz.getClassName(), cp); in getInstructionHandles()
/external/apache-commons-bcel/src/examples/Mini/
DASTProgram.java35 import org.apache.bcel.generic.MethodGen;
215 MethodGen method; in byte_code()
242 method = new MethodGen(ACC_STATIC | ACC_PRIVATE | ACC_FINAL, in byte_code()
279 method = new MethodGen(ACC_STATIC | ACC_PRIVATE | ACC_FINAL, in byte_code()
296 method = new MethodGen(ACC_PUBLIC, Type.VOID, Type.NO_ARGS, null, in byte_code()
319 method = new MethodGen(ACC_STATIC, Type.VOID, Type.NO_ARGS, null, in byte_code()
DASTInteger.java24 import org.apache.bcel.generic.MethodGen;
90 public void byte_code(InstructionList il, MethodGen method, ConstantPoolGen cp) { in byte_code()
DASTIdent.java26 import org.apache.bcel.generic.MethodGen;
130 public void byte_code(InstructionList il, MethodGen method, ConstantPoolGen cp) { in byte_code()
DASTFunDecl.java40 import org.apache.bcel.generic.MethodGen;
216 MethodGen method=null; in byte_code()
226 method = new MethodGen(ACC_STATIC | ACC_PUBLIC, in byte_code()
244 method = new MethodGen(ACC_STATIC | ACC_PRIVATE | ACC_FINAL, in byte_code()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DMethodGen.java60 public class MethodGen extends FieldGenOrMethodGen { class
84 final MethodGen THIS = (MethodGen) o1;
85 final MethodGen THAT = (MethodGen) o2;
93 final MethodGen THIS = (MethodGen) o;
121 …public MethodGen(final int access_flags, final Type return_type, final Type[] arg_types, String[] … in MethodGen() method in MethodGen
178 public MethodGen(final Method m, final String class_name, final ConstantPoolGen cp) { in MethodGen() method in MethodGen
1122 public MethodGen copy( final String class_name, final ConstantPoolGen cp ) { in copy()
1123 final Method m = ((MethodGen) clone()).getMethod(); in copy()
1124 final MethodGen mg = new MethodGen(m, class_name, super.getConstantPool()); in copy()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DExceptionHandlers.java28 import org.apache.bcel.generic.MethodGen;
45 public ExceptionHandlers(final MethodGen mg) { in ExceptionHandlers()
DPass3bVerifier.java35 import org.apache.bcel.generic.MethodGen;
129 …private void circulationPump(final MethodGen m,final ControlFlowGraph cfg, final InstructionContex… in circulationPump()
301 public void invalidReturnTypeError(final Type returnedType, final MethodGen m) { in invalidReturnTypeError()
344 … final MethodGen mg = new MethodGen(methods[method_no], myOwner.getClassName(), constantPoolGen); in do_verify()

12