HewlettPackard / mds

Managed Data Structures
GNU General Public License v3.0
27 stars 5 forks source link

Record schema annotation inheritance is incomplete #39

Open EvanKirshenbaum opened 7 years ago

EvanKirshenbaum commented 7 years ago

[imported from HPE issue 318]

The annotation processor does not appear to completely implement the @Paradigm-based inheritance. In particular, if you say

@Paradigm
@TypeName("myPrefix-%1%s:)
MyParadigm { }

and then say

@RecordSchema
@Paradigm("MyParadigm")
{
   ...
}

the @TypeName attribute appears to be completely ignored. As near as I can tell from a cursory look through Abraham's code, the only things that are actually inherited are visibilities and getter names.