package foo; public class Bar implements Foo { public Object f() { throw new UnsupportedOperationException(); } }