- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 466 for getClass (0.09 sec)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
Field field = getSuperclassField(response.getClass(), "status"); field.setAccessible(true); return field.getInt(response); } private void setStatus(NetServerEnum2Response response, int value) throws Exception { Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class); method.setAccessible(true);
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/test/java/org/codelibs/core/io/FileUtilTest.java
public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); } private String getPath(final String fileName) { return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
*/ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass()); @BeforeEach void baseSetUp() { // Common setup for all tests logger.debug("Setting up test: {}", getClass().getSimpleName()); } /** * Create a test byte array with specified size and pattern */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
// We first check isProxyClass() so that the common case of comparing with non-proxy objects // is efficient. || (Proxy.isProxyClass(arg.getClass()) && Arrays.equals(arg.getClass().getInterfaces(), proxyClass.getInterfaces())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
() -> redirectWith(getClass(), moreUrl("uploadpage/" + form.dictId))); } saveInfo(messages -> messages.addSuccessUploadStopwordsFile(GLOBAL)); return redirectWith(getClass(), moreUrl("list/1").params("dictId", form.dictId)); }).orElseGet(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
} // --- reflection helpers -------------------------------------------- private static Object getField(Object target, String name) { try { var f = target.getClass().getDeclaredField(name); f.setAccessible(true); return f.get(target); } catch (Exception e) { fail("access field " + name, e); return null; }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-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
Class<?> subclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass(); assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public static void testSubtypeOfStaticAnonymousClass() { Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass(); assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
public static ToStringHelper toStringHelper(Object self) { return new ToStringHelper(self.getClass().getSimpleName()); } /** * Creates an instance of {@link ToStringHelper} in the same manner as {@link * #toStringHelper(Object)}, but using the simple name of {@code clazz} instead of using an * instance's {@link Object#getClass()}. * * <p>Note that in GWT, class names are often obfuscated. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryProcessorTest.java
QueryBuilder queryBuilder = queryProcessor.execute(context, query, 1.0f); assertTrue(called.get()); assertEquals(BoolQueryBuilder.class, queryBuilder.getClass()); called.set(false); final AtomicBoolean calledFirst = new AtomicBoolean(false); queryProcessor.addFilter(new QueryProcessor.Filter() { @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
FessUserNotFoundException exception2 = new FessUserNotFoundException("user2"); // Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); } public void test_stackTrace() { // Test that the exception has a proper stack trace FessUserNotFoundException exception = new FessUserNotFoundException("testuser");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0)