Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isProtected (0.08 sec)

  1. 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()
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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