FileType (@NotNull VirtualFile file) { FileType fileType = null; Pair<VirtualFile, FileType> fixedType = FILE_TYPE_FIXED_TEMPORARILY.get(); if (fixedType != null && fixedType.getFirst().equals(file)) { fileType = fixedType.getSecond(); if (toLog()) { log("F: getByFile(" + file.getName() + ") was frozen to " + fileType.getName() + " in " + Thread.currentThread()); } } return fileType; }