boolean (Project project, VirtualFile virtualFile) { final CompilerManager compilerManager = CompilerManager.getInstance(project); return !compilerManager.isUpToDate(compilerManager.createFilesCompileScope(new VirtualFile[]{virtualFile})); }