code: public static ResultDescriptor ofResult(final AnalyzerResult result) {
          if (result == null) {
              throw new IllegalArgumentException("AnalyzerResult cannot be null");
          }
          return ofResult(result.getClass());
      }
docs: Creates a {@link ResultDescriptor} for a {@link AnalyzerResult}
  
  @param result
  @return