Home
last modified time | relevance | path

Searched refs:ProxyBuilder (Results 1 – 6 of 6) sorted by relevance

/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java337 return ProxyBuilder.callSuper(proxy, method, args); in invoke()
434 ProxyBuilder.forClass(TwoConstructors.class) in testWithoutInvocationHandler_ThrowsIllegalArgumentException()
494 return ProxyBuilder.callSuper(proxy, method, args); in testSometimesDelegateToSuper()
510 return ProxyBuilder.callSuper(o, method, objects); in testCallSuperThrows()
626 assertSame(fakeHandler, ProxyBuilder.getInvocationHandler(proxy)); in testGetInvocationHandler_NormalOperation()
631 ProxyBuilder.getInvocationHandler(new Object()); in testGetInvocationHandler_NotAProxy()
673 HasMultipleConstructors a = ProxyBuilder.forClass(HasMultipleConstructors.class) in testCachingWithMultipleConstructors()
679 HasMultipleConstructors b = ProxyBuilder.forClass(HasMultipleConstructors.class) in testCachingWithMultipleConstructors()
687 HasMultipleConstructors c = ProxyBuilder.forClass(HasMultipleConstructors.class) in testCachingWithMultipleConstructors()
732 ProxyBuilder.callSuper(declaresInterface, Callable.class.getMethod("call")); in testAbstractClassWithUndeclaredInterfaceMethod()
[all …]
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DDexmakerMockMaker.java19 import com.android.dx.stock.ProxyBuilder;
58 Class<? extends T> proxyClass = ProxyBuilder.forClass(typeToMock) in createMock()
62 ProxyBuilder.setInvocationHandler(mock, invocationHandler); in createMock()
132 if (ProxyBuilder.isProxyClass(mock.getClass())) {
133 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock);
DInvocationHandlerAdapter.java19 import com.android.dx.stock.ProxyBuilder;
115 return ProxyBuilder.callSuper(target, method, arguments); in invoke()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java120 public final class ProxyBuilder<T> { class
137 private ClassLoader parentClassLoader = ProxyBuilder.class.getClassLoader();
144 private ProxyBuilder(Class<T> clazz) { in ProxyBuilder() method in ProxyBuilder
148 public static <T> ProxyBuilder<T> forClass(Class<T> clazz) { in forClass()
149 return new ProxyBuilder<T>(clazz); in forClass()
157 public ProxyBuilder<T> parentClassLoader(ClassLoader parent) { in parentClassLoader()
162 public ProxyBuilder<T> handler(InvocationHandler handler) { in handler()
172 public ProxyBuilder<T> dexCache(File dexCacheParent) { in dexCache()
178 public ProxyBuilder<T> implementing(Class<?>... interfaces) { in implementing()
188 public ProxyBuilder<T> constructorArgValues(Object... constructorArgValues) { in constructorArgValues()
[all …]
/external/dexmaker/
DREADME.md14 …s proxies](http://dexmaker.googlecode.com/git/javadoc/com/google/dexmaker/stock/ProxyBuilder.html).
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java34 import com.android.dx.stock.ProxyBuilder;