- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for getParameterTypes (0.05 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
for (Method method : testClass.getDeclaredMethods()) { if (Modifier.isPublic(method.getModifiers()) && method.getReturnType() == void.class && method.getParameterTypes().length == 0 && method.getName().startsWith("test")) { result.add(method); } } return ImmutableList.copyOf(result); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
.transformAndConcat(c -> asList(c.getDeclaredMethods())) .firstMatch( m -> m.getName().equals("writeReplace") && m.getParameterTypes().length == 0 // Only package-private methods are a problem. && (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
} /** * Returns all declared parameters of this {@code Invokable}. Note that if this is a constructor * of a non-static inner class, unlike {@link Constructor#getParameterTypes}, the hidden {@code * this} parameter of the enclosing class is excluded from the returned parameters. */ @IgnoreJRERequirement public final ImmutableList<Parameter> getParameters() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
*/ String getMethodName(); /** * Returns an array of the method's parameter types. * * @return an array of the method's parameter types */ Class<?>[] getParameterTypes(); /** * Returns the return type of the method. * * @param <T> * the return type of the method * @return the return type of the method */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
final Map<TypeVariable<?>, Type> map) { assertArgumentNotNull("method", method); assertArgumentArrayIndex("index", index, method.getParameterTypes().length); assertArgumentNotNull("map", map); return createParameterizedClassDesc(method.getGenericParameterTypes()[index], map); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
} private Method getMethod(String methodName, Object... arguments) throws Exception { 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++) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
final String name; final List<Class<?>> parameterTypes; final TypeSignature typeSignature; MethodSignature(Method method) { name = method.getName(); parameterTypes = asList(method.getParameterTypes()); typeSignature = new TypeSignature(method.getTypeParameters()); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof MethodSignature) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
final String name; final List<Class<?>> parameterTypes; final TypeSignature typeSignature; MethodSignature(Method method) { name = method.getName(); parameterTypes = asList(method.getParameterTypes()); typeSignature = new TypeSignature(method.getTypeParameters()); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof MethodSignature) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
assertEquals("unwrap", unwrapMethod.getName()); assertEquals(1, unwrapMethod.getParameterCount()); assertEquals(Class.class, unwrapMethod.getParameterTypes()[0]); // The return type for generic method <T extends SmbSession> T unwrap(Class<T>) is SmbSession at runtime assertTrue(SmbSession.class.isAssignableFrom((Class<?>) unwrapMethod.getReturnType()),
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0)