- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for paramTypes (0.05 sec)
-
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
public ConstructorDesc getConstructorDesc(final Class<?>... paramTypes) { for (final ConstructorDesc constructorDesc : constructorDescs) { if (Arrays.equals(paramTypes, constructorDesc.getParameterTypes())) { return constructorDesc; } } throw new ConstructorNotFoundRuntimeException(beanClass, paramTypes); } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Class<?>[] paramTypes = constructor.getParameterTypes(); Object[] params = new Object[paramTypes.length]; for (int i = 0; i < paramTypes.length; i++) { Class<?> paramType = paramTypes[i]; if (paramType.equals(String.class)) { params[i] = cause.toString(); } else if (paramType.equals(Throwable.class)) { params[i] = cause; } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Class<?>[] paramTypes = constructor.getParameterTypes(); Object[] params = new Object[paramTypes.length]; for (int i = 0; i < paramTypes.length; i++) { Class<?> paramType = paramTypes[i]; if (paramType.equals(String.class)) { params[i] = cause.toString(); } else if (paramType.equals(Throwable.class)) { params[i] = cause; } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
private static Object newPrivateInner(String simpleName, Class<?>[] paramTypes, Object... args) { try { Class<?> cls = Class.forName("jcifs.smb.SmbEnumerationUtil$" + simpleName); Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes); ctor.setAccessible(true); return ctor.newInstance(args);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
} } return null; } private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) { while (clazz != null) { try { return clazz.getDeclaredMethod(methodName, paramTypes); } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
} private Method getSuperclassMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) throws NoSuchMethodException { while (clazz != null) { try { return clazz.getDeclaredMethod(methodName, paramTypes); } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
/** * Helper method to invoke protected/private method using reflection */ private Object invokeMethod(Object obj, String methodName, Class<?>[] paramTypes, Object... args) throws Exception { Method method = obj.getClass().getDeclaredMethod(methodName, paramTypes); method.setAccessible(true); return method.invoke(obj, args); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
} private Method getSuperclassMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) throws NoSuchMethodException { while (clazz != null) { try { return clazz.getDeclaredMethod(methodName, paramTypes); } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
*/ public static Class<?> getRawClass(final Type type) { return switch (type) { case Class<?> clazz -> clazz; case ParameterizedType paramType -> getRawClass(paramType.getRawType()); case WildcardType wildcard -> getRawClass(wildcard.getUpperBounds()[0]); case GenericArrayType arrayType -> {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
for (int i = 0; i < params.size(); i++) { TypeToken<?> paramType = type.resolveType(typeVars[i]); // We require all @Generates methods to either be parameter-less or accept non-null // values for their generic parameter types. Object argValue = generate(paramType); if (argValue == null) { // When a parameter of a @Generates method cannot be created,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0)