/external/javassist/src/test/javassist/ |
D | JvstTest2.java | 77 CtMethod m = CtNewMethod.make( in testStaticMember() 82 m = CtNewMethod.make( in testStaticMember() 87 m = CtNewMethod.make( in testStaticMember() 93 m = CtNewMethod.make( in testStaticMember() 98 m = CtNewMethod.make( in testStaticMember() 103 m = CtNewMethod.make( in testStaticMember() 121 cc.addMethod(CtNewMethod.make( in testStaticMember2() 128 cc.addMethod(CtNewMethod.make( in testStaticMember2() 135 cc.addMethod(CtNewMethod.make( in testStaticMember2() 143 cc.addMethod(CtNewMethod.make( in testStaticMember2() [all …]
|
D | SetterTest.java | 32 clazz.addMethod(CtNewMethod.getter("isBroken", field)); in testFieldGetter() 49 clazz.addMethod(CtNewMethod.getter("isBroken", field)); in testFieldGetterSetter() 50 clazz.addMethod(CtNewMethod.setter("setBroken", field)); in testFieldGetterSetter() 70 clazz.addMethod(CtNewMethod.getter("isBroken", field)); in testStaticFieldGetter() 88 clazz.addMethod(CtNewMethod.getter("isBroken", field)); in testStaticFieldGetterSetter() 89 clazz.addMethod(CtNewMethod.setter("setBroken", field)); in testStaticFieldGetterSetter()
|
D | JvstTest5.java | 26 … CtMethod m = CtNewMethod.make("public static int run(){ return $class.getName().length(); }", cc); in testDollarClassInStaticMethod() 28 m = CtNewMethod.make("public int run2(){ return $class.getName().length(); }", cc); in testDollarClassInStaticMethod() 38 …CtMethod m = CtNewMethod.make("public int run(){ return test5.DefaultMethodIntf.super.foo(); }", c… in testSuperDefaultMethodCall() 40 m = CtNewMethod.make("public int run2(){ return test5.DefaultMethodIntf.baz(); }", cc); in testSuperDefaultMethodCall() 42 … m = CtNewMethod.make("public int run3(){ return test5.DefaultMethodIntf.super.baz(); }", cc); in testSuperDefaultMethodCall() 81 CtMethod make = CtNewMethod.make(src, ctClass); in testJIRA246b() 182 cc.addMethod(CtNewMethod.make( in testJIRA250() 186 cc.addMethod(CtNewMethod.make("public int run() { getBar(); return 1; }", cc)); in testJIRA250() 254 cc.addMethod(CtNewMethod.make("static int foo() { return 1; }", cc)); in testAddDefaultMethod() 255 cc.addMethod(CtNewMethod.make("public static int foo1() { return 1; }", cc)); in testAddDefaultMethod() [all …]
|
D | JvstTest.java | 295 CtMethod m1 = CtNewMethod.make( in testProceed() 298 CtMethod m2 = CtNewMethod.make( in testProceed() 301 CtMethod m3 = CtNewMethod.make( in testProceed() 306 CtMethod m4 = CtNewMethod.make( in testProceed() 362 CtMethod m2 = CtNewMethod.copy(m1, cc, null); in testProceed3() 423 cc.addMethod(CtNewMethod.make(CtClass.voidType, "m1", in testSetConsBody() 425 cc.addMethod(CtNewMethod.make(CtClass.intType, "m2", in testSetConsBody() 427 cc.addMethod(CtNewMethod.make(CtClass.byteType, "m3", in testSetConsBody() 429 cc.addMethod(CtNewMethod.make(CtClass.longType, "m4", in testSetConsBody() 431 cc.addMethod(CtNewMethod.make(CtClass.floatType, "m5", in testSetConsBody() [all …]
|
D | JvstTest4.java | 404 CtNewMethod.make("public String foox(){return test4.MakeMethod.foo();}", ctClass); in testMakeMethod() 405 CtNewMethod.make("public String foo(){return test4.MakeMethod.foo();}", ctClass); in testMakeMethod() 554 cc.addMethod(CtNewMethod.make( in testImportPac() 562 cc.addMethod(CtNewMethod.make( in testImportPac() 571 cc.addMethod(CtNewMethod.make( in testLength() 576 cc.addMethod(CtNewMethod.make( in testLength() 581 cc.addMethod(CtNewMethod.make( in testLength() 789 CtMethod m = CtNewMethod.make("public Object get(){return value;}", cc); in testGenericSignature() 795 CtMethod m2 = CtNewMethod.make("public void set(Object v){value = v;}", cc); in testGenericSignature() 928 cc.addMethod(CtNewMethod.make( in testJIRA188() [all …]
|
D | HotswapTest.java | 32 clazz.addMethod(CtNewMethod.make("public int foo() { return 2; }", clazz)); in testHotswap()
|
D | LoaderTestByRandall.java | 74 CtMethod newMethod = CtNewMethod.make(CtClassType.voidType, in testLoadBadCodeModification()
|
D | JvstTest3.java | 150 CtMethod m2 = CtNewMethod.make( in testInnerClassMethod() 426 CtMethod m1 = CtNewMethod.make( in testMethodLookup() 667 CtMethod m1 = CtNewMethod.make( in testPackageName() 680 CtMethod m1 = CtNewMethod.make( in testErasure() 1109 ctc.addMethod(CtNewMethod.make(sb.toString(), ctc)); in test67()
|
/external/javassist/sample/vector/ |
D | VectorAssistant.java | 97 vec.addMethod(CtNewMethod.copy(addmethod, "add", vec, map)); in makeSubclass() 98 vec.addMethod(CtNewMethod.copy(atmethod, "at", vec, map)); in makeSubclass() 122 = CtNewMethod.wrapped(CtClass.voidType, "add", args1, in makeSubclass2() 125 m = CtNewMethod.wrapped(type, "at", args2, in makeSubclass2()
|
/external/javassist/src/main/javassist/tools/reflect/ |
D | Reflection.java | 26 import javassist.CtNewMethod; 278 clazz.addMethod(CtNewMethod.getter(metaobjectGetter, f)); in modifyClassfile() 279 clazz.addMethod(CtNewMethod.setter(metaobjectSetter, f)); in modifyClassfile() 288 clazz.addMethod(CtNewMethod.getter(classobjectAccessor, f)); in modifyClassfile() 330 m2 = CtNewMethod.delegator(findOriginal(m, dontSearch), clazz); in processMethods0() 344 = CtNewMethod.wrapped(m.getReturnType(), name, in processMethods0() 383 = CtNewMethod.wrapped(ftype, readPrefix + name, in processFields() 392 wmethod = CtNewMethod.wrapped(CtClass.voidType, in processFields()
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxyCacheGCTest.java | 71 … CtMethod targetMethod = CtNewMethod.make("public Object test() { return this; }", ctTargetClass); in createProxy() 80 …CtMethod handlerInvoke = CtNewMethod.make("public Object invoke(Object self, java.lang.reflect.Met… in createProxy() 87 …CtMethod filterIsHandled = CtNewMethod.make("public boolean isHandled(java.lang.reflect.Method m) … in createProxy()
|
/external/javassist/src/main/javassist/tools/rmi/ |
D | StubGenerator.java | 31 import javassist.CtNewMethod; 164 proxy.addMethod(CtNewMethod.getter(accessorObjectId, f)); in produceProxyClass() 227 = CtNewMethod.wrapped(toCtClass(m.getReturnType()), in addMethods()
|
/external/javassist/sample/ |
D | Test.java | 38 CtMethod gMethod = CtNewMethod.copy(fMethod, "g", cc, null); in main()
|
/external/javassist/sample/evolve/ |
D | Evolution.java | 135 CtMethod wm = CtNewMethod.wrapped(absClass, handlerMethod, c in makeAbstractClass() 152 CtMethod m2 = CtNewMethod.abstractMethod(m.getReturnType(), in makeAbstractClass()
|
/external/javassist/src/test/test3/ |
D | Enhancer.java | 98 CtMethod delegator = CtNewMethod.delegator(m, thisClass); in override() 117 CtMethod m2 = CtNewMethod.make(m.getReturnType(), in makeMethod()
|
/external/javassist/src/main/javassist/ |
D | CtMethod.java | 140 return CtNewMethod.make(src, declaring); in make()
|
D | CtNewMethod.java | 35 public class CtNewMethod { class
|
/external/javassist/src/test/javassist/bytecode/ |
D | InsertGap0.java | 216 CtNewMethod.make( in addMethod()
|
D | BytecodeTest.java | 103 CtMethod m = CtNewMethod.abstractMethod(CtClass.intType, "test", in test2byteLocalVar() 418 cc.addMethod(CtNewMethod.make("public int bar() { return foo(); }", cc)); in testAddClassInfo()
|
D | StackMapTest.java | 17 import javassist.CtNewMethod;
|