- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for NoSuchFieldException (0.45 seconds)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
Field field = DBFluteSystem.class.getDeclaredField("finalTimeZoneProvider"); field.setAccessible(true); return (DfFinalTimeZoneProvider) field.get(null); } catch (NoSuchFieldException e) { // Field might not exist in this version, return null return null; } catch (IllegalAccessException e) { // Cannot access field due to security restrictions
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
@GwtCompatible @ReflectionSupport(value = ReflectionSupport.Level.FULL) // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
} } private Field getFieldIfExists(String fieldName) { try { return FessHtmlPath.class.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { return null; } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
val field = c.getDeclaredField(fieldName) field.isAccessible = true val value = field.get(instance) return if (!fieldType.isInstance(value)) null else fieldType.cast(value) } catch (_: NoSuchFieldException) { } c = c.superclass } // Didn't find the field we wanted. As a last gasp attempt, // try to find the value on a delegate. if (fieldName != "delegate") {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java
private java.lang.reflect.Field findField(Class<?> clazz, String fieldName) { while (clazz != null) { try { return clazz.getDeclaredField(fieldName); } catch (final NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } throw new RuntimeException("Field not found: " + fieldName); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 34.4K bytes - Click Count (0)