- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 375 for Reflection (0.09 seconds)
-
android/guava/src/com/google/common/reflect/Reflection.java
import static com.google.common.base.Preconditions.checkNotNull; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Proxy; /** * Static utilities relating to Java reflection. * * @since 12.0 */ public final class Reflection { /** * Returns the package name of {@code clazz} according to the Java Language Specification (sectionCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
assertEquals(FessUserTimeZoneProcessProvider.centralTimeZone, providedTimeZone); } else { // Cannot test due to reflection access limitations assertTrue("Cannot access DBFluteSystem fields via reflection", true); } } @Test public void test_processDBFluteSystem_setsTimeZoneProvider() { // When
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) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
} /** * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}. * Verifies that the constructor correctly initializes the object's fields using reflection for protected members. */ @Test void testConstructor() throws NoSuchFieldException, IllegalAccessException { // Create an instance of the class to be testedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* permit them, as it seems more likely that code would depend on that behavior than on the other. * Thus, we say the bug is in add(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* permit them, as it seems more likely that code would depend on that behavior than on the other. * Thus, we say the bug is in add(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
break; } expectUnchanged(); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableKeyMethod() { return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableValueMethod() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 7.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
break; } expectUnchanged(); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableKeyMethod() { return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableValueMethod() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
} catch (NoSuchFieldException | IllegalAccessException e) { log.error("Failed to get SingletonContext instance via reflection", e); fail("Failed to get SingletonContext instance via reflection: " + e.getMessage()); return null; // Should not reach here } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
@DisplayName("Test password stored as char array") void testPasswordStoredAsCharArray() throws Exception { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password123"); // Use reflection to verify password is stored as char[] Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password"); passwordField.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
* access those members directly. */ @ExtendWith(MockitoExtension.class) class SmbComLockingAndXTest { /** * Helper for setting a field via reflection. */ private static void setField(Object target, String name, Object value) { try { Field f = target.getClass().getDeclaredField(name); f.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0)