ItemPresentation () { return new ItemPresentation() { @NotNull @Override public String getPresentableText() { return myName; } @NotNull @Override public String getLocationString() { return myFile.toString(); } @NotNull @Override public Icon getIcon(boolean unused) { return YAMLKeyValueImpl.YAML_KEY_ICON; } }; }