Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testAnonymousClassWithTwoParametersConstructor (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 31.1K bytes
    - Click Count (0)
Back to Top