Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isPackagePrivate (0.13 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

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

        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("abstractMethod");
        assertTrue(invokable.isPackagePrivate());
        assertTrue(invokable.isAbstract());
    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/src/com/google/common/reflect/Invokable.java

      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() {
        return Modifier.isPrivate(getModifiers());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top