private long getCurrentModificationCount() {
    return myElement != null ? PsiModificationTracker.getInstance(myElement.getProject()).getModificationCount() : -1;
  }
private long getCurrentModificationCount()