I am trying to pass
Map<String, Map<String, List<TranslationImport>>> variable
to super class’s constructor that expects:
Map<String, Map<String, List>>
I tried changing parent class’s constructor to expect
Map<String, Map<String, List<?>>>
and
Map<String, Map<String, ? extends List>>
to no avail.
If I understand correctly, you can change the superclass constructor signature; you just need something that accepts an arbitrary value for the
Listelement type?That should probably be
Map<String, ? extends Map<String, ? extends List<?>>>.