void (@Nullable Icon icon, @NotNull final XValuePresentation valuePresenter, boolean hasChildren) { node.setPresentation(AllIcons.Nodes.Record, new XValuePresentation() { @NotNull @Override public String getSeparator() { return ": "; } @Nullable @Override public String getType() { return null; } @Override public void renderValue(@NotNull XValueTextRenderer renderer) { renderer.renderValue(Arrays.stream(myKinds).map(kind -> kind.toString() + " reference").collect(Collectors.joining(", "))); } }, hasChildren); }