private PolymorphicMapping getParameterizedPolymorphicMapping(Type type, PolymorphicMapping untypedPolymorphicMapping) { if (!Reflection.isParameterized(type)) { return untypedPolymorphicMapping; } throw new RuntimeException("TODO polymorphic, parameterized types are not yet supported"); }