Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isProtected (0.1 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(invokable.isAbstract());
        assertTrue(invokable.isPrivate());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isPublic());
        assertFalse(invokable.isProtected());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testProtectedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("protectedMethod");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(invokable.isAbstract());
        assertTrue(invokable.isPrivate());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isPublic());
        assertFalse(invokable.isProtected());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testProtectedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("protectedMethod");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

            return !Modifier.isPrivate(modifiers);
          }
        },
    
        PROTECTED {
          @Override
          boolean isVisible(int modifiers) {
            return Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers);
          }
        },
    
        PUBLIC {
          @Override
          boolean isVisible(int modifiers) {
            return Modifier.isPublic(modifiers);
          }
        };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

            return !Modifier.isPrivate(modifiers);
          }
        },
    
        PROTECTED {
          @Override
          boolean isVisible(int modifiers) {
            return Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers);
          }
        },
    
        PUBLIC {
          @Override
          boolean isVisible(int modifiers) {
            return Modifier.isPublic(modifiers);
          }
        };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top