Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAnonymousClassWithTwoParametersConstructor (0.18 sec)

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

            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testAnonymousClassWithTwoParametersConstructor() {
        abstract class Base {
          @SuppressWarnings("unused") // called by reflection
          Base(String s, int i) {}
        }
        Class<?> anonymous = new Base("test", 0) {}.getClass();
    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

            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testAnonymousClassWithTwoParametersConstructor() {
        abstract class Base {
          @SuppressWarnings("unused") // called by reflection
          Base(String s, int i) {}
        }
        Class<?> anonymous = new Base("test", 0) {}.getClass();
    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