code: public static AnalysisResult fakeFailure(Exception failure) {
          return new AnalysisResult(failure, new Extensions(Collections.emptyMap(), Collections.emptyMap(),
                  Collections.emptyMap(), Collections.emptyMap()));
      }
docs: Similar to {@link #fakeSuccess()}, this returns a failed analysis result without the need to run any analysis.
  
  @param failure the failure to report
  @return a "fake" failed analysis result