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