- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 161 for setMethod (0.08 sec)
-
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.", subscriber.getClass().getMethod("throwExceptionOn", String.class), handler.context.getSubscriberMethod()); } public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception { final EventBus eventBus =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
} protected boolean containsAuthenticationData(final HttpServletRequest request) { if (logger.isDebugEnabled()) { logger.debug("HTTP Method: {}", request.getMethod()); } if (!"POST".equalsIgnoreCase(request.getMethod())) { return false; } final Map<String, String[]> params = request.getParameterMap(); if (logger.isDebugEnabled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 28.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
* このメソッドを所有するクラスの{@link BeanDesc}を返します。 * * @return {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * メソッドを返します。 * * @return コンストラクタ */ Method getMethod(); /** * メソッド名を返します。 * * @return メソッド名 */ String getMethodName(); /** * メソッドの引数型の配列を返します。 * * @return メソッドの引数型の配列 */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
if (!isAppEngineWithApiClasses()) { return Executors.defaultThreadFactory(); } try { return (ThreadFactory) Class.forName("com.google.appengine.api.ThreadManager") .getMethod("currentRequestThreadFactory") .invoke(null); } catch (IllegalAccessException | ClassNotFoundException | NoSuchMethodException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 44.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
} } return classes; } private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) { for (String testName : testNames) { try { testClass.getMethod(testName); return true; } catch (NoSuchMethodException e) { continue; } } return false; } private static boolean isEqualsDefined(Class<?> cls) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
Type usedInGenericType(Type type) { return JAVA7.usedInGenericType(type); } @Override String typeName(Type type) { try { Method getTypeName = Type.class.getMethod("getTypeName"); return (String) getTypeName.invoke(type); } catch (NoSuchMethodException e) { throw new AssertionError("Type.getTypeName should be available in Java 8");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* 一致するメソッドが見つからない場合 * @see Class#getMethod(String, Class...) */ public static Method getMethod(final Class<?> clazz, final String name, final Class<?>... argTypes) throws NoSuchMethodRuntimeException { assertArgumentNotNull("clazz", clazz); assertArgumentNotEmpty("name", name); try { return clazz.getMethod(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) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(TypeToken.of(String.class), invokable.getOwnerType()); } public void testGetOwnerType_method() throws Exception { Invokable<?, ?> invokable = Invokable.from(String.class.getMethod("length")); assertEquals(TypeToken.of(String.class), invokable.getOwnerType()); } private static final class FinalClass { @SuppressWarnings("unused") // used by reflection void notFinalMethod() {}
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
assertEquals(TypeToken.of(String.class), invokable.getOwnerType()); } public void testGetOwnerType_method() throws Exception { Invokable<?, ?> invokable = Invokable.from(String.class.getMethod("length")); assertEquals(TypeToken.of(String.class), invokable.getOwnerType()); } private static final class FinalClass { @SuppressWarnings("unused") // used by reflection void notFinalMethod() {}
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/src/com/google/common/base/FinalizableReferenceQueue.java
throw new AssertionError(e); } } } /** Looks up Finalizer.startFinalizer(). */ static Method getStartFinalizer(Class<?> finalizer) { try { return finalizer.getMethod( "startFinalizer", Class.class, ReferenceQueue.class, PhantomReference.class); } catch (NoSuchMethodException e) { throw new AssertionError(e); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 11 20:51:36 UTC 2024 - 13.1K bytes - Viewed (0)