Is there any way to include the name of the interface when implementing the method? If I have to implement 3 interfaces, then it would be hard to remind me where the implemented method comes from.
If I have 2 interface required to implement the same method name. How can I tell which method I am implementing?
public interface BarInt {
void method();
}
public interface GeeInt{
void method();
}
public class Foo implements BarInt, GeeInt{
@Override
public void method() {
// TODO Auto-generated method stub
}
}
Thanks