// Test() // Test(int) import java.lang.invoke.*; class Main { void foo() throws Exception { MethodHandles.Lookup l = MethodHandles.lookup(); l.findConstructor(Test.class, MethodType.methodType(void.class, int.class)); } } class Test { public Test(int a) {} public Test() {} }