Set<String> (@NotNull PsiSwitchBlock switchBlock) { Map<String, String> mapToConvert = getConversionNewTypeWithGeneric(switchBlock); return ContainerUtil.map2Set(myNames, name -> mapToConvert.getOrDefault(name, name)); }