private static void scanPointsInt(Project project,
                                    DebuggerProjectSettings debuggerProjectSettings,
                                    boolean capture,
                                    CapturePointConsumer consumer) {
    try {
      getAsyncAnnotations(debuggerProjectSettings, capture)
        .forEach(annotationName -> NodeRendererSettings.visitAnnotatedElements(annotationName, project,
                                                                               (e, annotation) -> consumer.accept(capture, e, annotation)));
    }
    catch (IndexNotReadyException | ProcessCanceledException | AlreadyDisposedException ignore) {
    }
    catch (Exception e) {
      LOG.error(e);
    }
  }
private static void scanPointsInt(Project project,
                                    DebuggerProjectSettings debuggerProjectSettings,
                                    boolean capture,
                                    CapturePointConsumer consumer)