- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for getParameterTypes (0.19 sec)
-
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
@Override public ConstructorDesc getConstructorDesc(final Class<?>... paramTypes) { for (final ConstructorDesc constructorDesc : constructorDescs) { if (Arrays.equals(paramTypes, constructorDesc.getParameterTypes())) { return constructorDesc; } } throw new ConstructorNotFoundRuntimeException(beanClass, paramTypes); } @OverrideRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
guava-tests/test/com/google/common/hash/HashingTest.java
Object[] params1 = new Object[method.getParameterTypes().length]; Object[] params2 = new Object[method.getParameterTypes().length]; for (int i = 0; i < params1.length; i++) { if (method.getParameterTypes()[i] == int.class) { params1[i] = random.nextInt(); params2[i] = random.nextInt(); } else if (method.getParameterTypes()[i] == long.class) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
setUpParameterizedClassDesc(); } private void setupStringConstructor() { for (final Constructor<?> con : propertyType.getConstructors()) { if (con.getParameterTypes().length == 1 && con.getParameterTypes()[0].equals(String.class)) { stringConstructor = con; break; } } } private void setupValueOfMethod() {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
assertArgumentNotNull("method", method); return method != null && method.getName().equals("equals") && method.getReturnType() == boolean.class && method.getParameterTypes().length == 1 && method.getParameterTypes()[0] == Object.class; } /** * Returns whether the method is the {@literal hashCode()} method. * * @param method
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
Object[] params1 = new Object[method.getParameterTypes().length]; Object[] params2 = new Object[method.getParameterTypes().length]; for (int i = 0; i < params1.length; i++) { if (method.getParameterTypes()[i] == int.class) { params1[i] = random.nextInt(); params2[i] = random.nextInt(); } else if (method.getParameterTypes()[i] == long.class) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
Multimap<Class<?>, Subscriber> methodsInListener = HashMultimap.create(); Class<?> clazz = listener.getClass(); for (Method method : getAnnotatedMethods(clazz)) { Class<?>[] parameterTypes = method.getParameterTypes(); Class<?> eventType = parameterTypes[0]; methodsInListener.put(eventType, Subscriber.create(bus, listener, method)); } return methodsInListener; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf( constructor -> asList(constructor.getParameterTypes())); private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) { Class<?>[] paramTypes = constructor.getParameterTypes(); Object[] params = new Object[paramTypes.length]; for (int i = 0; i < paramTypes.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* * @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(); for (int nullIndex = 0; nullIndex < types.length; nullIndex++) { testMethodParameter(instance, method, nullIndex); } } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf( constructor -> asList(constructor.getParameterTypes())); private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) { Class<?>[] paramTypes = constructor.getParameterTypes(); Object[] params = new Object[paramTypes.length]; for (int i = 0; i < paramTypes.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0)