- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for protectedMethod (0.05 seconds)
-
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
static class PrivateMethodClass { @Secured({ "PRIVATE_ROLE" }) private void privateMethod() { } @Secured({ "PROTECTED_ROLE" }) protected void protectedMethod() { } @Secured({ "PACKAGE_ROLE" }) void packageMethod() { } } @Test public void test_privateMethodAnnotation() throws NoSuchMethodException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} private static class VisibilityMethods { private void privateMethod() {} void packagePrivateMethod() {} @Keep protected void protectedMethod() {} @Keep public void publicMethod() {} } public void testVisibility_public() throws Exception { assertFalse(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
assertFalse(invokable.isProtected()); assertTrue(invokable.isAnnotationPresent(Tested.class)); } public void testProtectedMethod() throws Exception { Invokable<?, Object> invokable = A.method("protectedMethod"); assertFalse(invokable.isAbstract()); assertFalse(invokable.isPrivate()); assertFalse(invokable.isPackagePrivate()); assertFalse(invokable.isFinal()); assertFalse(invokable.isPublic());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0)