Is it possible to prevent implementation of method that is not in interface, for example:
abstract class IController {
void add();
}
class Controller implements IController {
@override
void add();
// Should not allow this,
// methods that is not present in the interface
void addMore();
}