Searched refs:proxyClass (Results 1 – 9 of 9) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | ByteBuddyCrossClassLoaderSerializationSupport.java | 272 … Class<?> proxyClass = ((ClassCreatingMockMaker) Plugins.getMockMaker()).createMockType( in resolveClass() local 278 hackClassNameToMatchNewlyCreatedClass(desc, proxyClass); in resolveClass() 279 return proxyClass; in resolveClass() 307 …sNameToMatchNewlyCreatedClass(ObjectStreamClass descInstance, Class<?> proxyClass) throws ObjectSt… in hackClassNameToMatchNewlyCreatedClass() argument 310 setField(descInstance, classNameField,proxyClass.getCanonicalName()); in hackClassNameToMatchNewlyCreatedClass()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | AbstractInvocationHandler.java | 130 private static boolean isProxyOfSameInterfaces(Object arg, Class<?> proxyClass) { in isProxyOfSameInterfaces() argument 131 return proxyClass.isInstance(arg) in isProxyOfSameInterfaces() 138 && Arrays.equals(arg.getClass().getInterfaces(), proxyClass.getInterfaces())); in isProxyOfSameInterfaces()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/ |
D | ProxyBuilder.java | 236 Class<? extends T> proxyClass = buildProxyClass(); in build() local 239 constructor = proxyClass.getConstructor(constructorArgTypes); in build() 282 Class<? extends T> proxyClass = (Class) generatedProxyClasses.get(cacheKey); in buildProxyClass() local 283 if (proxyClass != null) { in buildProxyClass() 284 return proxyClass; // cache hit! in buildProxyClass() 340 proxyClass = loadClass(classLoader, generatedName); in buildProxyClass() 349 setMethodsStaticField(proxyClass, methodsToProxy); in buildProxyClass() 350 generatedProxyClasses.put(cacheKey, proxyClass); in buildProxyClass() 351 return proxyClass; in buildProxyClass() 375 private static void setMethodsStaticField(Class<?> proxyClass, Method[] methodsToProxy) { in setMethodsStaticField() argument [all …]
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ProxyMaker.java | 77 … final Class<?> proxyClass = UNSAFE.defineAnonymousClass(targetClass, writer.toByteArray(), null); in createProxyFactory() local 80 final Field field = proxyClass.getDeclaredField(TARGET_FIELD); in createProxyFactory() 84 Object proxy = UNSAFE.allocateInstance(proxyClass); in createProxyFactory()
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | InlineDexmakerMockMaker.java | 267 Class<? extends T> proxyClass; in createMock() local 283 proxyClass = builder.buildProxyClass(); in createMock() 291 mock = instantiator.newInstance(proxyClass); in createMock() 294 + proxyClass.getSuperclass().getSimpleName() + "'", e); in createMock()
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | DexmakerMockMaker.java | 114 Class<? extends T> proxyClass = builder.buildProxyClass(); in createMock() local 115 T mock = unsafeAllocator.newInstance(proxyClass); in createMock()
|
/external/libchrome/mojo/public/js/ |
D | bindings.js | 143 this.proxy_ = new this.interfaceType_.proxyClass( 382 this.proxy_ = new this.interfaceType_.proxyClass(
|
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | interface_definition.tmpl | 221 proxyClass: {{interface.name}}Proxy,
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/ |
D | ProxyBuilderTest.java | 1122 Class<?> proxyClass = proxyFor(parentClass).buildProxyClass(); in getMethodsForProxyClass() local 1124 for (Field f : proxyClass.getDeclaredFields()) { in getMethodsForProxyClass()
|