- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for isProtected (0.42 sec)
-
src/test/java/jcifs/https/HandlerTest.java
Handler testHandler = new Handler(null); // When Method method = Handler.class.getDeclaredMethod("getDefaultPort"); // Then assertTrue(Modifier.isProtected(method.getModifiers())); method.setAccessible(true); // Required to invoke protected method assertEquals(443, method.invoke(testHandler)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
} /** Returns true if the element is protected. */ public final boolean isProtected() { return Modifier.isProtected(getModifiers()); } /** Returns true if the element is package-private. */ public final boolean isPackagePrivate() { return !isPrivate() && !isPublic() && !isProtected(); } /** Returns true if the element is private. */ public final boolean isPrivate() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
try { Constructor<ThreadDumpUtil> constructor = ThreadDumpUtil.class.getDeclaredConstructor(); assertTrue("Constructor should be protected", java.lang.reflect.Modifier.isProtected(constructor.getModifiers())); // Test that constructor is accessible when made accessible constructor.setAccessible(true); ThreadDumpUtil instance = constructor.newInstance();
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/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
assertNotNull("processWebInfLib method should exist", method); assertTrue("processWebInfLib should be protected", java.lang.reflect.Modifier.isProtected(method.getModifiers())); } catch (final NoSuchMethodException e) { fail("processWebInfLib method should exist"); } } public void test_packageStructure() {
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/test/java/jcifs/smb1/https/HandlerTest.java
Handler testHandler = new Handler(); // When Method method = Handler.class.getDeclaredMethod("getDefaultPort"); // Then assertTrue(Modifier.isProtected(method.getModifiers())); method.setAccessible(true); assertEquals(443, method.invoke(testHandler)); } @Test @DisplayName("Should maintain inheritance hierarchy")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
if (field.getName().startsWith("ACCESS_CONTROL_")) { int modifiers = field.getModifiers(); assertTrue("Field " + field.getName() + " should be protected", Modifier.isProtected(modifiers)); assertTrue("Field " + field.getName() + " should be static", Modifier.isStatic(modifiers)); assertTrue("Field " + field.getName() + " should be final", Modifier.isFinal(modifiers));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0)