boolean (@NotNull PsiJavaFile psiJavaFile, @NotNull Editor editor) { Long prevTimestamp = editor.getUserData(MODIFICATION_COUNT); return prevTimestamp == null || prevTimestamp != psiJavaFile.getManager().getModificationTracker().getModificationCount(); }