@FunctionalInterface interface I { void foo(); } class IImpl implements I { public void foo(){} public void get() {} }