void (@NotNull VirtualFile file, int flags) { try (DataOutputStream stream = autoDetectedAttribute.writeFileAttribute(file)) { stream.writeByte(flags & (AUTO_DETECTED_AS_TEXT_MASK | AUTO_DETECTED_AS_BINARY_MASK)); } catch (IOException e) { LOG.error(e); } }