- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getDeclaredMethod (0.11 sec)
-
android/guava-tests/test/com/google/common/reflect/TypesTest.java
static WildcardType getWildcardType(String methodName) throws Exception { ParameterizedType parameterType = (ParameterizedType) WithWildcardType.class.getDeclaredMethod(methodName, List.class) .getGenericParameterTypes()[0]; return (WildcardType) parameterType.getActualTypeArguments()[0]; } } public void testNewWildcardType() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
static WildcardType getWildcardType(String methodName) throws Exception { ParameterizedType parameterType = (ParameterizedType) WithWildcardType.class.getDeclaredMethod(methodName, List.class) .getGenericParameterTypes()[0]; return (WildcardType) parameterType.getActualTypeArguments()[0]; } } public void testNewWildcardType() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
return invokable; } static Invokable<?, Object> method(String name, Class<?>... parameterTypes) throws Exception { Invokable<?, Object> invokable = Invokable.from(A.class.getDeclaredMethod(name, parameterTypes)); assertEquals(name, invokable.getName()); assertEquals(A.class, invokable.getDeclaringClass()); return invokable; } native void nativeMethod();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
return invokable; } static Invokable<?, Object> method(String name, Class<?>... parameterTypes) throws Exception { Invokable<?, Object> invokable = Invokable.from(A.class.getDeclaredMethod(name, parameterTypes)); assertEquals(name, invokable.getName()); assertEquals(A.class, invokable.getDeclaringClass()); return invokable; } native void nativeMethod();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* @see Class#getDeclaredMethod(String, Class...) */ public static Method getDeclaredMethod(final Class<?> clazz, final String name, final Class<?>... argTypes) throws NoSuchMethodRuntimeException { assertArgumentNotNull("clazz", clazz); assertArgumentNotEmpty("name", name); try { return clazz.getDeclaredMethod(name, argTypes);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 27.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertNotNull(generator.generateFresh(Currency.class)); } public void testNulls() throws Exception { new ClassSanityTester() .setDefault(Method.class, FreshValueGeneratorTest.class.getDeclaredMethod("testNulls")) .testNulls(FreshValueGenerator.class); } private static void assertFreshInstances(Class<?>... types) { for (Class<?> type : types) { assertFreshInstance(type, 2); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 18.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
} catch (NoSuchMethodException e) { continue; } } return false; } private static boolean isEqualsDefined(Class<?> cls) { try { return !cls.getDeclaredMethod("equals", Object.class).isSynthetic(); } catch (NoSuchMethodException e) { return false; } } abstract static class Chopper { final Chopper or(Chopper you) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertNotNull(generator.generateFresh(Currency.class)); } public void testNulls() throws Exception { new ClassSanityTester() .setDefault(Method.class, FreshValueGeneratorTest.class.getDeclaredMethod("testNulls")) .testNulls(FreshValueGenerator.class); } private static void assertFreshInstances(Class<?>... types) { for (Class<?> type : types) { assertFreshInstance(type, 2); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 17.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
} catch (NoSuchMethodException e) { continue; } } return false; } private static boolean isEqualsDefined(Class<?> cls) { try { return !cls.getDeclaredMethod("equals", Object.class).isSynthetic(); } catch (NoSuchMethodException e) { return false; } } abstract static class Chopper { final Chopper or(Chopper you) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
static Method newStringUnsafeMethod = null; static { try { final Class<?> sharedSecretsClass = Class.forName("sun.misc.SharedSecrets"); javaLangAccess = sharedSecretsClass.getDeclaredMethod("getJavaLangAccess").invoke(null); final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess"); newStringUnsafeMethod = javaLangAccessClass.getMethod("newStringUnsafe", char[].class);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.7K bytes - Viewed (0)