List<String> (@NotNull PsiClass ignored, @NotNull PsiSwitchBlock switchBlock) { Map<String, String> mapToConvert = getConversionNewTypeWithGeneric(switchBlock); return ContainerUtil.map(myAllNames, name -> mapToConvert.getOrDefault(name, name)); }