OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDeclaredMethod
(Results
1 - 25
of
121
) sorted by null
1
2
3
4
5
/external/javassist/sample/
Test.java
30
cc.
getDeclaredMethod
("g");
34
/*
getDeclaredMethod
() throws an exception if g()
37
CtMethod fMethod = cc.
getDeclaredMethod
("f");
/art/test/104-growth-limit/src/
Main.java
38
Method get_runtime = vm_runtime.
getDeclaredMethod
("getRuntime");
40
Method clear_growth_limit = vm_runtime.
getDeclaredMethod
("clearGrowthLimit");
/art/test/NativeAllocations/
NativeAllocations.java
51
Method get_runtime = vm_runtime.
getDeclaredMethod
("getRuntime");
53
register_native_allocation = vm_runtime.
getDeclaredMethod
("registerNativeAllocation", Integer.TYPE);
54
register_native_free = vm_runtime.
getDeclaredMethod
("registerNativeFree", Integer.TYPE);
/cts/tests/tests/security/src/android/security/cts/
NetdTest.java
49
Method mSMMethod = mSMClass.
getDeclaredMethod
("getService", String.class);
50
Method mStubMethod = mDeclaredClasses[0].
getDeclaredMethod
("asInterface", IBinder.class);
51
Method mINMSMethod = mINMSClass.
getDeclaredMethod
("setInterfaceThrottle", String.class, int.class, int.class);
/dalvik/tests/098-native-allocations/src/
Main.java
51
Method get_runtime = vm_runtime.
getDeclaredMethod
("getRuntime");
53
register_native_allocation = vm_runtime.
getDeclaredMethod
("registerNativeAllocation", Integer.TYPE);
54
register_native_free = vm_runtime.
getDeclaredMethod
("registerNativeFree", Integer.TYPE);
/external/objenesis/main/src/org/objenesis/instantiator/perc/
PercSerializationInstantiator.java
54
newInstanceMethod = ObjectInputStream.class.
getDeclaredMethod
("noArgConstruct",
60
Method getPercClassMethod = percClassClass.
getDeclaredMethod
("getPercClass",
63
Method findMethodMethod = someObject.getClass().
getDeclaredMethod
("findMethod",
PercInstantiator.java
43
newInstanceMethod = ObjectInputStream.class.
getDeclaredMethod
("newInstance",
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
UnsafeAllocator.java
60
.
getDeclaredMethod
("newInstance", Class.class, Class.class);
79
.
getDeclaredMethod
("getConstructorId", Class.class);
83
.
getDeclaredMethod
("newInstance", Class.class, int.class);
102
.
getDeclaredMethod
("getConstructorId", Class.class);
106
.
getDeclaredMethod
("newInstance", Class.class, long.class);
/libcore/benchmarks/src/benchmarks/regression/
ReflectionBenchmark.java
71
klass.
getDeclaredMethod
("m");
95
Method m = klass.
getDeclaredMethod
("m");
104
Method m = klass.
getDeclaredMethod
("sm");
112
Method m = klass.
getDeclaredMethod
("setField", int.class);
121
Method m = klass.
getDeclaredMethod
("setField", int.class);
131
Method m = klass.
getDeclaredMethod
("setStaticField", int.class);
139
Method m = klass.
getDeclaredMethod
("setStaticField", int.class);
/external/javassist/sample/vector/
VectorAssistant.java
91
CtMethod addmethod = c.
getDeclaredMethod
("add");
92
CtMethod atmethod = c.
getDeclaredMethod
("at");
116
CtMethod addmethod = c.
getDeclaredMethod
("add");
117
CtMethod atmethod = c.
getDeclaredMethod
("at");
/external/objenesis/main/src/org/objenesis/instantiator/sun/
Sun13InstantiatorBase.java
36
allocateNewObjectMethod = ObjectInputStream.class.
getDeclaredMethod
(
SunReflectionFactoryHelper.java
67
Method method = reflectionFactoryClass.
getDeclaredMethod
(
87
return reflectionFactoryClass.
getDeclaredMethod
(
/external/objenesis/main/src/org/objenesis/instantiator/android/
AndroidInstantiator.java
53
Method newInstanceMethod = ObjectStreamClass.class.
getDeclaredMethod
(
68
Method newInstanceMethod = ObjectStreamClass.class.
getDeclaredMethod
(
AndroidSerializationInstantiator.java
60
Method newInstanceMethod = ObjectStreamClass.class.
getDeclaredMethod
(
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorUnitTest.java
27
ctClass, ctClass.
getDeclaredMethod
("substring", new CtClass[]{CtClass.intType}),
41
ctClass, ctClass.
getDeclaredMethod
("length"),
55
ctClass, ctClass.
getDeclaredMethod
("wait"),
68
ctClass, ctClass.
getDeclaredMethod
("valueOf", new CtClass[]{CtClass.intType}),
89
ctClass, ctClass.
getDeclaredMethod
("equals", new CtClass[]{ctClass}),
/external/javassist/src/main/javassist/util/proxy/
SecurityActions.java
53
static Method
getDeclaredMethod
(final Class clazz, final String name,
56
return clazz.
getDeclaredMethod
(name, types);
62
return clazz.
getDeclaredMethod
(name, types);
/external/objenesis/main/src/org/objenesis/instantiator/basic/
ObjectStreamClassInstantiator.java
41
newInstanceMethod = ObjectStreamClass.class.
getDeclaredMethod
("newInstance",
/external/objenesis/main/src/org/objenesis/instantiator/gcj/
GCJInstantiatorBase.java
44
newObjectMethod = ObjectInputStream.class.
getDeclaredMethod
("newObject", new Class[] {
/external/objenesis/main/src/org/objenesis/instantiator/jrockit/
JRockitLegacyInstantiator.java
39
safeAllocObjectMethod = memSystem.
getDeclaredMethod
("safeAllocObject",
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResultReceiver.java
21
Method onReceiveResult = ResultReceiver.class.
getDeclaredMethod
("onReceiveResult", Integer.TYPE, Bundle.class);
/libcore/luni/src/test/java/libcore/java/lang/reflect/
MissingClassesTest.java
56
loadableClass.
getDeclaredMethod
("method", Unloadable.class);
OldGenericTypesTest.java
80
Method method = clazz.
getDeclaredMethod
("staticMethodGenericType", Object.class);
93
Method method = clazz.
getDeclaredMethod
("hidingMethodGenericType", Object.class);
121
Method multipleGenericTypesT = clazz.
getDeclaredMethod
("multipleGenericTypesT", new Class[]{Object.class});
128
Method multipleGenericTypesS = clazz.
getDeclaredMethod
("multipleGenericTypesS", new Class[]{Object.class});
135
Method multipleGenericTypesTS = clazz.
getDeclaredMethod
("multipleGenericTypesTS", new Class[]{Object.class, Object.class});
204
Method declaredMethods = innerClazz.
getDeclaredMethod
("innerMethod", Object.class);
216
Method method = clazz.
getDeclaredMethod
("exceptionTest");
227
Method declaredMethods = innerClazz.
getDeclaredMethod
("innerExceptionTest");
MethodTest.java
95
ImplementsC.class.
getDeclaredMethod
("a").getDeclaringClass();
100
ExtendsImplementsC.class.
getDeclaredMethod
("a").getDeclaringClass();
141
Method method = Super.class.
getDeclaredMethod
("a");
147
Sub.class.
getDeclaredMethod
("a");
155
InterfaceB.class.
getDeclaredMethod
("a");
196
Method method = anonymous.getClass().
getDeclaredMethod
("a");
/libcore/luni/src/test/java/libcore/java/lang/
CharacterTest.java
197
Method m = Character.class.
getDeclaredMethod
("isDigit" + "Impl", int.class);
206
Method m = Character.class.
getDeclaredMethod
("isIdentifierIgnorable" + "Impl", int.class);
215
Method m = Character.class.
getDeclaredMethod
("isLetter" + "Impl", int.class);
224
Method m = Character.class.
getDeclaredMethod
("isLetterOrDigit" + "Impl", int.class);
233
Method m = Character.class.
getDeclaredMethod
("isLowerCase" + "Impl", int.class);
242
Method m = Character.class.
getDeclaredMethod
("isSpaceChar" + "Impl", int.class);
251
Method m = Character.class.
getDeclaredMethod
("isUpperCase" + "Impl", int.class);
260
Method m = Character.class.
getDeclaredMethod
("isWhitespace" + "Impl", int.class);
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
MethodTest.java
230
* java.lang.Class#
getDeclaredMethod
(java.lang.String, java.lang.Class[])
233
// Check that
getDeclaredMethod
treats null parameterTypes the same as an empty array.
234
Method m1 = TestMethod.class.
getDeclaredMethod
("invokeInstanceTest", new Class[0]);
235
Method m2 = TestMethod.class.
getDeclaredMethod
("invokeInstanceTest", (Class[]) null);
302
mth = cl.
getDeclaredMethod
("prstatic", new Class[0]);
310
mth = cl.
getDeclaredMethod
("pustatsynch", new Class[0]);
318
mth = cl.
getDeclaredMethod
("pustatsynchnat", new Class[0]);
328
mth = cl.
getDeclaredMethod
("puabs", new Class[0]);
360
mth = TestMethod.class.
getDeclaredMethod
("publicVoidArray",
403
Method method = TestMethod.class.
getDeclaredMethod
(
[
all
...]
Completed in 3016 milliseconds
1
2
3
4
5