1 /* 2 SuppressWithPlainTextCommentFilter 3 offCommentFormat = CSOFF (\\w+) \\(\\w+\\) 4 onCommentFormat = CSON (\\w+) 5 checkFormat = FileTabCharacterCheck 6 messageFormat = (default)(null) 7 idFormat = $1 8 9 10 com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck 11 id = ignore 12 format = .*[a-zA-Z][0-9].* 13 message = (default) 14 ignoreCase = (default)false 15 minimum = (default)0 16 maximum = (default)0 17 fileExtensions = (default)(null) 18 19 20 com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck 21 id = foo 22 eachLine = true 23 fileExtensions = (default) 24 25 26 */ 27 28 package com.puppycrawl.tools.checkstyle.filters.suppresswithplaintextcommentfilter; 29 30 public class InputSuppressWithPlainTextCommentFilterSuppressById4 { // violation 'illegal pattern' 31 32 //CSOFF ignore (reason) 33 private int A1; // violation 'illegal pattern' 34 35 // @cs-: ignore (reason) 36 private static final int a1 = 5; // violation 'illegal pattern' 37 // violation above 'contains a tab' 38 int a2 = 100; // violation 'illegal pattern' 39 //CSON ignore 40 41 private long a3 = 1; // violation 'illegal pattern' 42 43 }