View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   import java.io.File; //indent:0 exp:0
4   import java.io.FileFilter; //indent:0 exp:0
5   
6   /**                                                                         //indent:0 exp:0
7    * This test-input is intended to be checked using following configuration: //indent:1 exp:1
8    *                                                                          //indent:1 exp:1
9    * arrayInitIndent = 2                                                      //indent:1 exp:1
10   * basicOffset = 2                                                          //indent:1 exp:1
11   * braceAdjustment = 0                                                      //indent:1 exp:1
12   * caseIndent = 2                                                           //indent:1 exp:1
13   * forceStrictCondition = false                                             //indent:1 exp:1
14   * lineWrappingIndentation = 4                                              //indent:1 exp:1
15   * tabWidth = 8                                                             //indent:1 exp:1
16   * throwsIndent = 4                                                         //indent:1 exp:1
17   */                                                                         //indent:1 exp:1
18  public class InputIndentationAnonymousClassInMethod { //indent:0 exp:0
19  	private void walkDir(File dir, FileFilter fileFilter) { //indent:8 exp:2 warn
20  		walkDir( dir, new FileFilter() { //indent:16 exp:4 warn
21  			@Override //indent:24 exp:18,20,22 warn
22  			public boolean accept(File path) { //indent:24 exp:24
23  				return ( path.isDirectory() ); //indent:32 exp:20,22,24 warn
24  			} //indent:24 exp:18,20,22 warn
25  		} ); //indent:16 exp:16
26  	} //indent:8 exp:2 warn
27  } //indent:0 exp:0