String (@NotNull ChooseByNameModel model, @NotNull String pattern) { if (model instanceof ContributorsBasedGotoByModel) { pattern = ((ContributorsBasedGotoByModel)model).removeModelSpecificMarkup(pattern); } return pattern; }