FileType (@NotNull VirtualFile file) { String overriddenType = OverrideFileTypeManager.getInstance().getFileValue(file); if (overriddenType != null) { return FileTypeManager.getInstance().findFileTypeByName(overriddenType); } return null; }