- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 124 for newInstance (0.04 sec)
-
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
// Test that constructor is accessible when made accessible constructor.setAccessible(true); SystemUtil instance = constructor.newInstance(); assertNotNull(instance); } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java
} @Override protected <RESULT extends User> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory"))); result.setCarLicense(DfTypeUtil.toString(source.get("carLicense")));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
params[i] = cause.toString(); } else if (paramType.equals(Throwable.class)) { params[i] = cause; } else { return null; } } try { return constructor.newInstance(params); } catch (IllegalArgumentException | InstantiationException | IllegalAccessException | InvocationTargetException e) { return null; } }
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/org/codelibs/core/collection/ArrayUtilTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
params[i] = cause.toString(); } else if (paramType.equals(Throwable.class)) { params[i] = cause; } else { return null; } } try { return constructor.newInstance(params); } catch (IllegalArgumentException | InstantiationException | IllegalAccessException | InvocationTargetException e) { return null; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Test that constructor is accessible when made accessible constructor.setAccessible(true); ThreadDumpUtil instance = constructor.newInstance(); assertNotNull(instance); } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} return arg; } private Object convertWithString(final Object arg) { if (stringConstructor != null) { return ConstructorUtil.newInstance(stringConstructor, arg); } if (valueOfMethod != null) { return MethodUtil.invoke(valueOfMethod, null, arg); } return arg; } @Override
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/test/java/jcifs/smb/SmbEnumerationUtilTest.java
Class<?> cls = Class.forName("jcifs.smb.SmbEnumerationUtil$" + simpleName); Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes); ctor.setAccessible(true); return ctor.newInstance(args); } catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new AssertionError(e); }
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/main/java/org/codelibs/core/lang/GenericsUtil.java
case WildcardType wildcard -> getRawClass(wildcard.getUpperBounds()[0]); case GenericArrayType arrayType -> { Class<?> rawClass = getRawClass(arrayType.getGenericComponentType()); yield Array.newInstance(rawClass, 0).getClass(); } case null, default -> null; }; } /** * Returns the array of type arguments for the specified type. * <p>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0)