Is there any ordinary way (not something like getting list of methods
from base class) to ensure we are overriding method?

Java has @Override annotation that that causes compilation error if
method is not necessary for Interface(Role). It is very handy if class
does many of them and someone cuts out deprecated method and there is
no reason to implement them any longer.


Kamil Kułaga

Reply via email to