code: private void generateSyntaxErrorMessage(SourceUnit sourceUnit, AnnotationNode node, String msg) {
          SyntaxException error = new SyntaxException(msg, node.getLineNumber(), node.getColumnNumber());
          sourceUnit.getErrorCollector().addErrorAndContinue(new SyntaxErrorMessage(error, sourceUnit));
      }
docs: Generates a SyntaxErrorMessage based on the current SourceUnit, AnnotationNode, and a specified
  error message.
  
  @param sourceUnit The SourceUnit
  @param node       The node that was annotated
  @param msg        The error message to display