OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:proxyClass
(Results
1 - 25
of
77
) sorted by null
1
2
3
4
/art/test/044-proxy/src/
ConstructorProxy.java
36
Class<?>
proxyClass
= Proxy.getProxyClass(
40
Constructor<?> constructor =
proxyClass
.getConstructor(InvocationHandler.class);
BasicTest.java
102
Class<?>
proxyClass
= Proxy.getProxyClass(Shapes.class.getClassLoader(),
104
Main.registerProxyClassName(
proxyClass
.getCanonicalName());
109
Constructor<?> cons =
proxyClass
.getConstructor(InvocationHandler.class);
/external/javassist/src/main/javassist/util/proxy/
ProxyObjectInputStream.java
86
Class
proxyClass
= factory.createClass(signature);
87
return ObjectStreamClass.lookup(
proxyClass
);
ProxyFactory.java
315
WeakReference
proxyClass
;
322
ProxyDetails(byte[] signature, Class
proxyClass
, boolean isUseWriteReplace)
325
this.
proxyClass
= new WeakReference(
proxyClass
);
480
WeakReference reference = details.
proxyClass
;
[
all
...]
/art/runtime/
proxy_test.cc
105
mirror::Class*
proxyClass
= class_linker_->CreateProxyClass(
109
return
proxyClass
;
162
Handle<mirror::Class>
proxyClass
;
167
proxyClass
= hs.NewHandle(GenerateProxyClass(soa, jclass_loader, "$Proxy1234", interfaces));
170
ASSERT_TRUE(
proxyClass
!= nullptr);
171
ASSERT_TRUE(
proxyClass
->IsProxyClass());
172
ASSERT_TRUE(
proxyClass
->IsInitialized());
174
EXPECT_TRUE(
proxyClass
->GetIFieldsPtr() == nullptr);
176
LengthPrefixedArray<ArtField>* static_fields =
proxyClass
->GetSFieldsPtr();
178
ASSERT_EQ(2u,
proxyClass
->NumStaticFields())
[
all
...]
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DexmakerMockMaker.java
58
Class<? extends T>
proxyClass
= ProxyBuilder.forClass(typeToMock)
61
T mock = unsafeAllocator.newInstance(
proxyClass
);
/external/javassist/src/test/test/javassist/proxy/
ProxyCacheGCTest.java
104
Class
proxyClass
= factory.createClass();
105
Object target =
proxyClass
.newInstance();
ProxySerializationTest.java
25
Class
proxyClass
= factory.createClass(new TestFilter());
33
Constructor constructor =
proxyClass
.getConstructor(new Class[] {String.class});
56
proxyClass
= factory.createClass(new TestFilter());
60
Constructor constructor =
proxyClass
.getConstructor(new Class[] {String.class});
/art/test/910-methods/src/art/
Test910.java
150
private static Class<?>
proxyClass
= null;
153
if (
proxyClass
!= null) {
154
return
proxyClass
;
158
proxyClass
= createProxyClass(i);
159
String name =
proxyClass
.getName();
161
return
proxyClass
;
164
return
proxyClass
;
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
ByteBuddyCrossClassLoaderSerializationSupport.java
272
Class<?>
proxyClass
= ((ClassCreatingMockMaker) Plugins.getMockMaker()).createMockType(
278
hackClassNameToMatchNewlyCreatedClass(desc,
proxyClass
);
279
return
proxyClass
;
304
* @param
proxyClass
The proxy class whose name will be applied.
307
private void hackClassNameToMatchNewlyCreatedClass(ObjectStreamClass descInstance, Class<?>
proxyClass
) throws ObjectStreamException {
310
setField(descInstance, classNameField,
proxyClass
.getCanonicalName());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ObjectStreamClassTest.java
154
Class<?>
proxyClass
= Proxy.getProxyClass(this.getClass()
158
.lookup(
proxyClass
);
/art/test/912-classes/src-art/art/
Test912.java
438
private static Class<?>
proxyClass
= null;
441
if (
proxyClass
!= null) {
442
return
proxyClass
;
446
proxyClass
= createProxyClass(i);
447
String name =
proxyClass
.getName();
449
return
proxyClass
;
452
return
proxyClass
;
/libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodTest.java
624
Class<? extends InterfaceWithDefault>
proxyClass
= proxyWithDefaultMethod.getClass();
625
Method defaultMethod =
proxyClass
.getMethod("defaultMethod");
626
assertEquals(
proxyClass
, defaultMethod.getDeclaringClass());
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
ProxyBuilder.java
213
Class<? extends T>
proxyClass
= buildProxyClass();
216
constructor =
proxyClass
.getConstructor(constructorArgTypes);
250
Class<? extends T>
proxyClass
= (Class) generatedProxyClasses.get(baseClass);
251
if (
proxyClass
!= null) {
258
validClassLoader =
proxyClass
.getClassLoader() == parent;
260
validClassLoader =
proxyClass
.getClassLoader().getParent() == parentClassLoader;
262
if (validClassLoader && interfaces.equals(asSet(
proxyClass
.getInterfaces()))) {
263
return
proxyClass
; // cache hit!
279
proxyClass
= loadClass(classLoader, generatedName);
288
setMethodsStaticField(
proxyClass
, methodsToProxy)
[
all
...]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
ProxyBuilderTest.java
[
all
...]
/prebuilts/tools/common/m2/repository/com/google/dexmaker/dexmaker-mockito/1.0/
dexmaker-mockito-1.0.jar
/prebuilts/tools/common/m2/repository/com/google/dexmaker/dexmaker-mockito/1.2/
dexmaker-mockito-1.2.jar
/prebuilts/tools/common/m2/repository/com/linkedin/dexmaker/dexmaker-mockito/2.2.0/
dexmaker-mockito-2.2.0.jar
/prebuilts/tools/common/m2/repository/com/linkedin/dexmaker/dexmaker/2.2.0/
dexmaker-2.2.0.jar
/prebuilts/misc/common/robolectric/lib/
robolectric-utils-3.1.1.jar
mockito-core-1.10.19.jar
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.core.net_1.2.200.v20130430-1352.jar
/external/guice/extensions/persist/lib/
hibernate-annotations.jar
/prebuilts/tools/common/m2/repository/org/javassist/javassist/3.19.0-GA/
javassist-3.19.0-GA.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.10.19/
mockito-core-1.10.19.jar
Completed in 582 milliseconds
1
2
3
4