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
Post a Comment