class Test { @FunctionalInterface interface I { void f() throws Exception; } void bar() { foo(); } void foo() { System.out.println(""); System.out.println(""); } }