Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for isProtected (0.19 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. 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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

                assertNotNull(method, "processWebInfLib method should exist");
                assertTrue("processWebInfLib should be protected", java.lang.reflect.Modifier.isProtected(method.getModifiers()));
            } catch (final NoSuchMethodException e) {
                fail("processWebInfLib method should exist");
            }
        }
    
        @Test
        public void test_packageStructure() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            collect(result, c.superclass)
        }
    
        private boolean isPublicApi(CtMethod method) {
            return Modifier.isPublic(method.modifiers) || Modifier.isProtected(method.modifiers)
        }
    
        private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) {
            return methods.findAll { isFirstPublicClassInHierarchy(it, c) }*.longName.sort()
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top