FSItem (@NotNull VirtualFile file) { FSItem fsItem = convert(file); if (fsItem == null) { String message = "Does not exist: " + file.getPath(); final IllegalStateException exception = new IllegalStateException(message); FSRecords.invalidateCaches(message, exception); throw exception; } return fsItem; }