Java inherited annotations
Dear colleagues.
There is some inconvenience concerning using of java annotations. I annotated some interfaces and methods within them. Then I made some derived interfaces and classes and tried to get my annotations here. Unfortunately annotations whose had been made for base classes were inaccessible from derived classes. It was very critical for me because I used some automated wrappers over my classes and couldn抰 add annotations manually. Anyway as a result the library was elaborated that helps to solve inheritance task.
The annotations being inherited are of classes, interfaces, or their methods. It uses the consistent inheritance model: inheritance proceeds only if the same annotation is not present on the same element (class, interface or method) within superclasses or superinterfaces. Annotations can be overridden within descendants. The library is open-source and free and can be downloaded from here:
http://www.fusionsoft-online.com/annotation.php.
Will be great to hear your opinion here?
Best Regards,
Michael.

