interface Foo { void someMethod(); } class FooImpl implements Foo { @Override public void someMethod() { } }