- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for parameterTypes (0.09 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static boolean isLongTimeUnitBased(Method method) { Class<?>[] parameterTypes = method.getParameterTypes(); return parameterTypes.length >= 2 && parameterTypes[parameterTypes.length - 2] == long.class && parameterTypes[parameterTypes.length - 1] == TimeUnit.class; } /** Determines whether the given method takes a Duration as its last parameter. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 27.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
Class<?>[] parameterTypes = method.getParameterTypes(); checkArgument( parameterTypes.length == 1, "Method %s has @Subscribe annotation but has %s parameters. " + "Subscriber methods must have exactly 1 parameter.", method, parameterTypes.length); checkArgument(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
Constructor<Prepender> constructor = Prepender.class.getDeclaredConstructor(parameterTypes); return Invokable.from(constructor); } static Invokable<Prepender, Object> method(String name, Class<?>... parameterTypes) { try { Method method = Prepender.class.getDeclaredMethod(name, parameterTypes);
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
Constructor<Prepender> constructor = Prepender.class.getDeclaredConstructor(parameterTypes); return Invokable.from(constructor); } static Invokable<Prepender, Object> method(String name, Class<?>... parameterTypes) { try { Method method = Prepender.class.getDeclaredMethod(name, parameterTypes);
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/util/concurrent/TestThread.java
METHODS: for (Method method : lockLikeObject.getClass().getMethods()) { Class<?>[] parameterTypes = method.getParameterTypes(); if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) { for (int i = 0; i < arguments.length; i++) { if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) { continue METHODS; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
METHODS: for (Method method : lockLikeObject.getClass().getMethods()) { Class<?>[] parameterTypes = method.getParameterTypes(); if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) { for (int i = 0; i < arguments.length; i++) { if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) { continue METHODS; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} } } private static Object[] arbitraryParameters(Method method) { Class<?>[] parameterTypes = method.getParameterTypes(); Object[] params = new Object[parameterTypes.length]; for (int i = 0; i < parameterTypes.length; i++) { params[i] = PARAMETER_VALUES.get(parameterTypes[i]); } return params; } private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0)