inheritance - Can you specialize inherited Java annotations -


I have an intangible superclass on which JPA annotations are mapped to some of its fields, only in the @mapped spaceslass Annotation is there.

Can I specialize / add or change only one element of a successor annotation without completely redefining the entire annotation?

You can do the same thing with annotations and comment on a comment and a library It considers it as a form of heritage.

The problem is that if you re-specify the entire annotation, then any library expects that the mappsparclass will ignore it.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -