On 05/15/2014 07:48 PM, Kamil Kułaga wrote:
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.
Not by default, but the meta programming facilities make it just a small
exercise to implement such a thing in user space.
I've done that in
Feel inspired :-)