private static List<MavenArtifact> getUnresolvedAnnotationProcessors(State state) {
    synchronized (state) {
      if (state.myUnresolvedAnnotationProcessors == null) {
        List<MavenArtifact> result = new ArrayList<>();
        for (MavenArtifact each : state.myAnnotationProcessors) {
          if (!each.isResolved()) result.add(each);
        }
        state.myUnresolvedAnnotationProcessors = result;
      }
      return state.myUnresolvedAnnotationProcessors;
    }
  }
private static List<MavenArtifact> getUnresolvedAnnotationProcessors(State state)