Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for notFinalMethod (0.06 sec)

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

      }
    
      private static final class FinalClass {
        @SuppressWarnings("unused") // used by reflection
        void notFinalMethod() {}
      }
    
      public void testNonFinalMethodInFinalClass_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Invokable.from(FinalClass.class.getDeclaredMethod("notFinalMethod"));
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
    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

      }
    
      private static final class FinalClass {
        @SuppressWarnings("unused") // used by reflection
        void notFinalMethod() {}
      }
    
      public void testNonFinalMethodInFinalClass_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Invokable.from(FinalClass.class.getDeclaredMethod("notFinalMethod"));
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top