void () { Function0<String> constructorWithoutParams = Test::testOverloads; constructorWithoutParams.invoke(); Function1<Integer, String> constructorWithParam = Test::testOverloads; constructorWithParam.invoke(2) + 42; }