String () { if (conv instanceof String conversion) { //todo return JavaBundle.message("type.migration.replaced.notification", conversion.replaceAll("\\$", element.getText())); } else { return JavaBundle.message("type.migration.replaced.notification", conv.toString()); } }