code: public BatchDetectSyntaxItemResult withSyntaxTokens(SyntaxToken... syntaxTokens) {
          if (this.syntaxTokens == null) {
              setSyntaxTokens(new java.util.ArrayList<SyntaxToken>(syntaxTokens.length));
          }
          for (SyntaxToken ele : syntaxTokens) {
              this.syntaxTokens.add(ele);
          }
          return this;
      }
docs: <p>
  The syntax tokens for the words in the document, one token for each word.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSyntaxTokens(java.util.Collection)} or {@link #withSyntaxTokens(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param syntaxTokens
  The syntax tokens for the words in the document, one token for each word.
  @return Returns a reference to this object so that method calls can be chained together.