void (VirtualFile file, @Nullable String value) { if (file instanceof NewVirtualFile) { try (DataOutputStream os = FRAMEWORK_FILE_ATTRIBUTE.writeFileAttribute(file)) { IOUtil.writeString(StringUtil.notNullize(value), os); } catch (IOException e) { LOG.error(e); } } else { file.putUserData(FRAMEWORK_FILE_MARKER, value); } }