ItemPresentation () { return new ItemPresentation() { @Nullable @Override public String getPresentableText() { return myProvider.getPlaceholderText(myStartElement.getText()); } @Override public @NotNull Icon getIcon(boolean unused) { return AllIcons.Nodes.CustomRegion; } }; }