Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for publicMethod (0.2 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

    class MethodsRemovedInInternalSuperClassRuleTest extends AbstractContextAwareRuleSpecification {
        MethodsRemovedInInternalSuperClassRule rule
    
        static class OldSuperInternal {
            void publicMethod() {}
    
            private void privateMethod() {}
        }
    
        static class OldBase extends OldSuperInternal {
            void anotherPublicMethod() {}
        }
    
        static class OldSub extends OldBase {}
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        void packagePrivateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        protected void protectedMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        public void publicMethod() {}
      }
    
      public void testVisibility_public() throws Exception {
        assertFalse(
            Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("privateMethod")));
        assertFalse(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
Back to top