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