Home
last modified time | relevance | path

Searched refs:proxyClass (Results 1 – 17 of 17) sorted by relevance

/external/mockito/src/org/mockito/internal/creation/jmock/
DClassImposterizer.java56 Class<?> proxyClass = null; in imposterise() local
60 proxyClass = createProxyClass(mockedType, ancillaryTypes); in imposterise()
61 proxyInstance = createProxy(proxyClass, interceptor); in imposterise()
68 …" imposterizing class : '" + proxyClass.getCanonicalName() + "', loaded by classloader : '" + pro… in imposterise()
133 private Object createProxy(Class<?> proxyClass, final MethodInterceptor interceptor) { in createProxy() argument
134 Factory proxy = (Factory) objenesis.newInstance(proxyClass); in createProxy()
/external/mockito/src/org/mockito/internal/creation/
DAcrossJVMSerializationFeature.java299 Class<?> proxyClass = ClassImposterizer.INSTANCE.createProxyClass( in resolveClass() local
304 hackClassNameToMatchNewlyCreatedClass(desc, proxyClass); in resolveClass()
306 return proxyClass; in resolveClass()
328 …sNameToMatchNewlyCreatedClass(ObjectStreamClass descInstance, Class<?> proxyClass) throws ObjectSt… in hackClassNameToMatchNewlyCreatedClass() argument
331 new FieldSetter(descInstance, classNameField).set(proxyClass.getCanonicalName()); in hackClassNameToMatchNewlyCreatedClass()
/external/javassist/src/test/test/javassist/proxy/
DProxySerializationTest.java25 Class proxyClass = factory.createClass(new TestFilter()); in testSerialization() local
33 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization()
56 proxyClass = factory.createClass(new TestFilter()); in testSerialization()
60 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization()
DProxyCacheGCTest.java104 Class proxyClass = factory.createClass(); in createProxy() local
105 Object target = proxyClass.newInstance(); in createProxy()
/external/guava/guava/src/com/google/common/reflect/
DAbstractInvocationHandler.java130 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/src/main/java/com/google/dexmaker/stock/
DProxyBuilder.java211 Class<? extends T> proxyClass = buildProxyClass(); in build() local
214 constructor = proxyClass.getConstructor(constructorArgTypes); in build()
241 Class<? extends T> proxyClass = (Class) generatedProxyClasses.get(baseClass); in buildProxyClass() local
242 if (proxyClass != null in buildProxyClass()
243 && proxyClass.getClassLoader().getParent() == parentClassLoader in buildProxyClass()
244 && interfaces.equals(asSet(proxyClass.getInterfaces()))) { in buildProxyClass()
245 return proxyClass; // cache hit! in buildProxyClass()
260 proxyClass = loadClass(classLoader, generatedName); in buildProxyClass()
269 setMethodsStaticField(proxyClass, methodsToProxy); in buildProxyClass()
270 generatedProxyClasses.put(baseClass, proxyClass); in buildProxyClass()
[all …]
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DDexmakerMockMaker.java57 Class<? extends T> proxyClass = ProxyBuilder.forClass(typeToMock) in createMock() local
60 T mock = unsafeAllocator.newInstance(proxyClass); in createMock()
61 Field handlerField = proxyClass.getDeclaredField("$__handler"); in createMock()
/external/javassist/src/main/javassist/util/proxy/
DProxyObjectInputStream.java86 Class proxyClass = factory.createClass(signature); in readClassDescriptor() local
87 return ObjectStreamClass.lookup(proxyClass); in readClassDescriptor()
DProxyFactory.java315 WeakReference proxyClass; field in ProxyFactory.ProxyDetails
322 ProxyDetails(byte[] signature, Class proxyClass, boolean isUseWriteReplace) in ProxyDetails() argument
325 this.proxyClass = new WeakReference(proxyClass); in ProxyDetails()
480 WeakReference reference = details.proxyClass; in createClass2()
/external/dexmaker/src/test/java/com/google/dexmaker/stock/
DProxyBuilderTest.java912 Class<?> proxyClass = proxyFor(parentClass).buildProxyClass(); in getMethodsForProxyClass() local
914 for (Field f : proxyClass.getDeclaredFields()) { in getMethodsForProxyClass()
/external/robolectric/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...
/external/robolectric/lib/test/
Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/ ...
/external/vogar/lib/
Dmockito-all-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hamcrest/ org/ ...
/external/dexmaker/lib/
Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...