View Javadoc
1   /*
2   SuppressWithPlainTextCommentFilter
3   offCommentFormat = CSOFF (\\w+) \\(\\w+\\)
4   onCommentFormat = CSON (\\w+)
5   checkFormat = FileTabCharacterCheck
6   messageFormat = (default)(null)
7   idFormat = foo
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)all files
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 InputSuppressWithPlainTextCommentFilterSuppressById3 { // 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; // filtered violation 'contains a tab'
37      // violation above 'illegal pattern'
38      int a2 = 100; // violation 'illegal pattern'
39      //CSON ignore
40  
41      private long a3 = 1; // violation 'illegal pattern'
42  
43  }