code: public static String getProblemMessage(Object object, String summary, String separator) {
          if (object instanceof CompilationProblem[]) {
              return fillSummary( (CompilationProblem[]) object, summary, separator );
          }
          return summary;
      }
docs: Appends compilation problems to summary message if object is an array of {@link CompilationProblem}
  with custom separator
  
  @param object    object with compilation results
  @param summary   summary message
  @param separator custom messages separator
  @return summary message with changes