Can you specialize inherited Java annotations

I have an abstract superclass that has JPA annotations on it mapping some of its fields. The class itself has the @MappedSuperclass annotation.

Can I specialize/add or change just one element of an inherited annotation without re-specifying the entire annotation?


The only thing you can do with Annotations is to place an Annotation on an Annotation and have a library which understands this as a form of inheritance.

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

Need Your Help

Android permission doesn't work even if I have declared it

java android android-permissions

I'm trying to write code to send an SMS from an Android app, but when I try to send the SMS it sends me back the error:

line break in CSV excel csv

What character or combination of characters do I have to insert into my csv file so that if I enable line breaks in Excel the text is correctly breaked at this point?