FileType (@NotNull VirtualFile file, byte @Nullable [] content, @Nullable FileType fileTypeByName) { // should run detectors for 'DetectedByContentFileType' type and if failed, return text return myDetectionService.getOrDetectFromContent(file, content, fileTypeByName); }