code: @Override public void addWarning(String message) {
  		ast.printMessage(Diagnostic.Kind.WARNING, message, this, null, false);
  	}
docs: Generates a compiler warning focused on the AST node represented by this node object.