code: protected Violation createViolationForImport(SourceCode sourceCode, ImportNode importNode, String message) {
          Map importInfo = ImportUtil.sourceLineAndNumberForImport(sourceCode, importNode);
          Violation violation = new Violation();
          violation.setRule(this);
          violation.setSourceLine((String) importInfo.get("sourceLine"));
          violation.setLineNumber((Integer) importInfo.get("lineNumber"));
          violation.setMessage(message);
          return violation;
      }
docs: Create and return a new Violation for this rule and the specified import
  @param sourceCode - the SourceCode
  @param importNode - the ImportNode for the import triggering the violation
  @return a new Violation object