- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 196 for invoke (0.15 sec)
-
android/guava/src/com/google/common/reflect/Types.java
TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) { this.typeVariableImpl = typeVariableImpl; } @Override @CheckForNull public Object invoke(Object proxy, Method method, @CheckForNull @Nullable Object[] args) throws Throwable { String methodName = method.getName(); Method typeVariableMethod = typeVariableMethods.get(methodName);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
} @J2ktIncompatible @GwtIncompatible // java.lang.reflect private static Object invokeAccessibleNonThrowingMethod( Method method, Object receiver, Object... params) { try { return method.invoke(receiver, params); } catch (IllegalAccessException e) { throw new RuntimeException(e); } catch (InvocationTargetException e) { throw propagate(e.getCause()); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
T instance = invoke(factory, args); if (instance == null) { throw new FactoryMethodReturnsNullException(factory); } return instance; } private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args) throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
throws Throwable { throw exception; } }); T wrapper = wrapperFunction.apply(proxy); try { method.invoke(wrapper, getParameterValues(method)); fail(method + " failed to throw exception as is."); } catch (InvocationTargetException e) { if (exception != e.getCause()) { throw new RuntimeException(e);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
throws Throwable { throw exception; } }); T wrapper = wrapperFunction.apply(proxy); try { method.invoke(wrapper, getParameterValues(method)); fail(method + " failed to throw exception as is."); } catch (InvocationTargetException e) { if (exception != e.getCause()) { throw new RuntimeException(e);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
public void testNextDown() throws Exception { Method jdkNextDown = getJdkNextDown(); for (double d : FINITE_DOUBLE_CANDIDATES) { assertEquals(jdkNextDown.invoke(null, d), DoubleUtils.nextDown(d)); } } private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
final Iterator<ListFrobber> remainingActions = actionsToPerformConcurrently.iterator(); final Set<List<Integer>> allStates = newHashSet(); @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { return method.equals(getAllStatesMethod) ? getAllStates() : invokeListMethod(method, args); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* Verifies that {@code method} produces a {@link NullPointerException} or {@link * UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null. * * @param instance the instance to invoke {@code method} on, or null if {@code method} is static */ public void testMethod(@Nullable Object instance, Method method) { Class<?>[] types = method.getParameterTypes();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
Class<?> finalizableReferenceClass, ReferenceQueue<Object> queue, PhantomReference<Object> frqReference) { /* * We use FinalizableReference.class for two things: * * 1) To invoke FinalizableReference.finalizeReferent() * * 2) To detect when FinalizableReference's class loader has to be garbage collected, at which * point, Finalizer can stop running */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 23 12:54:09 GMT 2023 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
} private static final InvocationHandler X_RETURNER = new InvocationHandler() { @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { return "x"; } }; private static int classesInitialized = 0; private static class A { static {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.7K bytes - Viewed (0)