- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for paramTypes (0.31 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) -
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
return new String(buf); } private static String getSignature(final Class<?>... paramTypes) { if (paramTypes == null || paramTypes.length == 0) { return ""; } final StringBuilder buf = new StringBuilder(100); for (final Class<?> type : paramTypes) { if (type != null) { buf.append(type.getName()); } else {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
final Class<?>[] paramTypes = constructor.getParameterTypes(); assertEquals("Constructor should have one parameter", 1, paramTypes.length); assertEquals("Parameter should be Context type", Context.class, paramTypes[0]); } catch (final NoSuchMethodException e) { fail("Constructor with Context parameter should exist");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
/** * Returns the {@link ConstructorDesc} for the given parameter types. * * @param paramTypes * The array of parameter types for the constructor * @return The {@link ConstructorDesc} for the given parameter types */ ConstructorDesc getConstructorDesc(Class<?>... paramTypes); /** * Returns the {@link ConstructorDesc} that matches the given arguments. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
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)