void () { Function0 constructorSameClass = Java8Class::new; constructorSameClass.invoke(); Function0 qualifiedConstructorSameClass = test.Java8Class::new; qualifiedConstructorSameClass.invoke(); Function0 constructorAnotherClass = Test::new; constructorAnotherClass.invoke(); Function0 qualifiedConstructorAnotherClass = test.Test::new; qualifiedConstructorAnotherClass.invoke(); }