Let's say I have the following interface:
interface Somethingable {
@Foo
void doSomething();
}
Now if I implement this interface, will the @Foo
annotation be inherited on my implementation of doSomething()
or do I have to write it again?
If it's inherited, is it a bad practice?