Closed dasavick closed 2 years ago
Apparently this happens only with @TargetType(TreeMap/LinkedHashMap)
or even @TargetType(Map)
annotation. Direct type TreeMap<MyEnum, List<MyOkaeriConfig>>
is not affected.
Looks like TargetType
was incorrectly applied to all types transformed in the context of the annotated field instead of parent field only. Fixed in https://github.com/OkaeriPoland/okaeri-configs/commit/f69d94f434dab060366a8fab144728530845c4ec and released in 4.0.0-beta19
.
Whoopsie.