View Javadoc
1   package com.google.checkstyle.test.chapter4formatting.rule4841indentation;  //indent:0 exp:0
2   
3   import java.util.Iterator;  //indent:0 exp:0
4   
5   public class InputIndentationCorrectClass  //indent:0 exp:0
6       implements Runnable, Cloneable {  //indent:4 exp:4
7   
8     class InnerClass implements  //indent:2 exp:2
9             Iterable<String>,  //indent:10 exp:>=6
10               Cloneable {  //indent:13 exp:>=6
11      @Override //indent:4 exp:4
12      public Iterator<String> iterator() {  //indent:4 exp:4
13        return null;  //indent:6 exp:6
14      }  //indent:4 exp:4
15    }  //indent:2 exp:2
16  
17    class InnerClass2  //indent:2 exp:2
18         extends  //indent:7 exp:>=6
19            SecondClassReturnWithVeryVeryVeryLongName {  //indent:10 exp:>=6
20      public InnerClass2(String string) {  //indent:4 exp:4
21        super();  //indent:6 exp:6
22        // OOOO Auto-generated constructor stub //indent:6 exp:6
23      }  //indent:4 exp:4
24    }  //indent:2 exp:2
25  
26    @Override  //indent:2 exp:2
27    public void run() {  //indent:2 exp:2
28      SecondClassWithLongLongLongLongName anon =  //indent:4 exp:4
29            new SecondClassWithLongLongLongLongName() {  //indent:10 exp:>=8
30  
31            };  //indent:10 exp:10
32  
33      SecondClassWithLongLongLongLongName anon2 = new  //indent:4 exp:4
34            SecondClassWithLongLongLongLongName() {  //indent:10 exp:>=8
35  
36      };  //indent:4 exp:4
37    }  //indent:2 exp:2
38  } //indent:0 exp:0
39  
40  class SecondClassWithLongLongLongLongName  //indent:0 exp:0
41      extends  //indent:4 exp:4
42           InputIndentationCorrectClass{  //indent:9 exp:>=4
43  
44  }  //indent:0 exp:0
45  
46  class SecondClassReturnWithVeryVeryVeryLongName  //indent:0 exp:0
47      extends  //indent:4 exp:4
48           InputIndentationCorrectClass{  //indent:9 exp:>=4
49  
50  }  //indent:0 exp:0