FileContent (@NotNull VirtualFile file, byte @NotNull [] content) { FileType fileType = FileTypeRegistry.getInstance().getFileTypeByFile(file, content); return new FileContentImpl(file, fileType, null, () -> content, false); }