private static @Nullable Object currentInvalidationTrace() {
    Object trace = ourPsiModificationTrace.get();
    return trace != null || ApplicationManagerEx.isInStressTest() ? trace : handleUnspecifiedTrace();
  }
private static @Nullable Object currentInvalidationTrace()