Home
last modified time | relevance | path

Searched refs:ProxyFactory (Results 1 – 20 of 20) sorted by relevance

/external/javassist/src/test/testproxy/
DProxyTester.java10 import javassist.util.proxy.ProxyFactory;
64 ProxyFactory f = new ProxyFactory(); in testTarget()
92 ProxyFactory f = new ProxyFactory(); in testTarget1()
105 ProxyFactory f = new ProxyFactory(); in testObject()
117 ProxyFactory f = new ProxyFactory(); in testSetter()
137 ProxyFactory f = new ProxyFactory(); in testString()
152 ProxyFactory f = new ProxyFactory(); in testConstructor()
179 ProxyFactory f = new ProxyFactory(); in testInterface()
193 ProxyFactory f = new ProxyFactory(); in test2Interfaces()
214 ProxyFactory f = new ProxyFactory(); in testFilter()
[all …]
DProxyFactoryPerformanceTest.java13 import javassist.util.proxy.ProxyFactory;
83 ProxyFactory.useCache = args.length == 0; in main()
105 ProxyFactory factory = new ProxyFactory(); in callCreateClass()
/external/javassist/src/test/test/javassist/proxy/
DProxySimpleTest.java13 import javassist.util.proxy.ProxyFactory;
22 ProxyFactory f = new ProxyFactory(); in testProxyFactory()
55 ProxyFactory.ClassLoaderProvider cp = ProxyFactory.classLoaderProvider; in testReadWrite()
57 ProxyFactory.classLoaderProvider = new ProxyFactory.ClassLoaderProvider() { in testReadWrite()
58 public ClassLoader get(ProxyFactory pf) { in testReadWrite()
67 ProxyFactory pf = new ProxyFactory(); in testReadWrite()
76 ProxyFactory.classLoaderProvider = cp; in testReadWrite()
94 ProxyFactory pf = new ProxyFactory(); in testWriteReplace()
99 ProxyFactory pf2 = new ProxyFactory(); in testWriteReplace()
124 ProxyFactory factory = new ProxyFactory(); in testJIRA244()
[all …]
DProxyFactoryCompatibilityTest.java7 import javassist.util.proxy.ProxyFactory;
46 System.out.println("ProxyFactory.useCache = " + ProxyFactory.useCache); in testFactoryCompatibility()
48 ProxyFactory factory = new ProxyFactory(); in testFactoryCompatibility()
72 ProxyFactory factory2 = new ProxyFactory(); in testFactoryCompatibility()
DJBPAPP9257Test.java4 import javassist.util.proxy.ProxyFactory;
14 ProxyFactory f = new ProxyFactory(); in testGetHandler()
42 ProxyFactory f = new ProxyFactory(); in testGetHandler2()
DJASSIST113RegressionTest.java3 import javassist.util.proxy.ProxyFactory;
18 ProxyFactory proxyFactory = new ProxyFactory(); in testProxyFactoryWithNonPublicInterface()
DProxyCacheGCTest.java6 import javassist.util.proxy.ProxyFactory;
43 ProxyFactory.useCache = false; in testCacheGC()
54 ProxyFactory.useCache = true; in testCacheGC()
92 ProxyFactory factory = new ProxyFactory(); in createProxy()
DProxySerializationTest.java21 ProxyFactory factory = new ProxyFactory(); in testSerialization()
/external/javassist/src/test/javassist/proxyfactory/
DProxyFactoryTest.java4 import javassist.util.proxy.ProxyFactory;
17 ProxyFactory fact = new ProxyFactory(); in testMethodHandlers()
34 ProxyFactory fact = new ProxyFactory(); in testSerialize()
82 ProxyFactory proxyFactory = new ProxyFactory(); in testJira127()
95 ProxyFactory proxyFactory = new ProxyFactory(); in testDefaultMethod()
102 ProxyFactory proxyFactory2 = new ProxyFactory(); in testDefaultMethod()
110 ProxyFactory proxyFactory3 = new ProxyFactory(); in testDefaultMethod()
133 ProxyFactory factory = new ProxyFactory(); in testJava11()
145 ProxyFactory factory = new ProxyFactory(); in testJava11jdk()
DTester.java33 ProxyFactory f = new ProxyFactory(); in test()
38 assertTrue(ProxyFactory.isProxyClass(c)); in test()
43 ProxyFactory f = new ProxyFactory(); in test2()
/external/guice/core/test/com/google/inject/internal/
DProxyFactoryTest.java46 ProxyFactory<Simple> factory = new ProxyFactory<>(injectionPoint, aspects); in testSimpleCase()
82 new ProxyFactory<Foo>(InjectionPoint.forConstructorOf(Foo.class), aspects).create(); in testInterceptOneMethod()
84 new ProxyFactory<Bar>(InjectionPoint.forConstructorOf(Bar.class), aspects).create(); in testInterceptOneMethod()
135 ProxyFactory<A> factory = in testWithConstructorArguments()
136 new ProxyFactory<A>(InjectionPoint.forConstructorOf(A.class), aspects); in testWithConstructorArguments()
150 ProxyFactory<A> factory = in testNotProxied()
151 new ProxyFactory<A>(InjectionPoint.forConstructorOf(A.class), aspects); in testNotProxied()
176 ProxyFactory<Counter> factory = in testMultipleInterceptors()
177 new ProxyFactory<Counter>(InjectionPoint.forConstructorOf(Counter.class), aspects); in testMultipleInterceptors()
/external/javassist/src/main/javassist/util/proxy/
DProxyObjectOutputStream.java50 if (ProxyFactory.isProxyClass(cl)) { in writeClassDescriptor()
54 byte[] signature = ProxyFactory.getFilterSignature(cl); in writeClassDescriptor()
DProxyObjectInputStream.java81 ProxyFactory factory = new ProxyFactory(); in readClassDescriptor()
DSerializedProxy.java87 ProxyFactory f = new ProxyFactory();
DRuntimeSupport.java273 methodHandler = ProxyFactory.getHandler((Proxy)proxy); in makeSerializedProxy()
275 return new SerializedProxy(clazz, ProxyFactory.getFilterSignature(clazz), methodHandler); in makeSerializedProxy()
DFactoryHelper.java133 if (ProxyFactory.onlyPublicMethods) in toClass()
DProxyFactory.java177 public class ProxyFactory { class
383 public ProxyFactory() { in ProxyFactory() method in ProxyFactory
697 public ClassLoader get(ProxyFactory pf); in get()
723 public ClassLoader get(ProxyFactory pf) {
/external/guice/core/src/com/google/inject/internal/
DProxyFactory.java47 final class ProxyFactory<T> implements ConstructionProxyFactory<T> { class
49 private static final Logger logger = Logger.getLogger(ProxyFactory.class.getName());
63 ProxyFactory(InjectionPoint injectionPoint, Iterable<MethodAspect> methodAspects) { in ProxyFactory() method in ProxyFactory
DConstructorInjectorStore.java82 ConstructionProxyFactory<T> factory = new ProxyFactory<>(injectionPoint, methodAspects); in createConstructor()
/external/guice/
DAndroid.bp63 "core/src/com/google/inject/internal/ProxyFactory.java",