+ * Note that the generated result will have few queries, joined by pipe({@code |}). Together they will match all
+ * AST nodes on specified line and column. You need to choose only one and recheck that it works. Usage of all of
+ * them is also ok, but might result in undesirable matching and suppress other issues.
+ *
+ * @param lineColumnNumber the line column number
+ * @return the checkstyle operation
+ */
+ public CheckstyleOperation suppressionLineColumnNumber(String lineColumnNumber) {
+ if (isNotBlank(lineColumnNumber)) {
+ options.put("-s", lineColumnNumber);
+ }
+ return this;
+ }
+
+ /**
+ * Sets the length of the tab character. Used only with the
+ * {@link #suppressionLineColumnNumber(String) suppressionLineColumnNumber} option.
+ *
* Default value is {@code 8}.
*
* @param length the length
@@ -329,8 +372,8 @@ public class CheckstyleOperation extends AbstractProcessOperation