FileStatus (@Nullable VirtualFile virtualFile, @NotNull Project project) { if (virtualFile == null) { return FileStatus.NOT_CHANGED; } return FileStatusManager.getInstance(project).getStatus(virtualFile); }