1 package com.puppycrawl.tools.checkstyle.indentation;
2
3 public class InputValidAssignIndent
4 {
5 void foo(String[] args)
6 {
7 int i = 1 +
8 2 +
9 3;
10 String line = mIndentCheck[
11 getLineNo()];
12 String line1 =
13 getLine();
14 line1 =
15 getLine();
16 int i1
17 =
18 1;
19 i = 3;
20
21 Integer brace =
22 (candidate == SLIST)
23 ? candidate : null;
24
25 AnInterfaceFooWithALongName f =
26 new AnInterfaceFooWithALongName() {
27 public void bar() {
28 }
29 };
30
31 AnInterfaceFooWithALongName f1
32 = new AnInterfaceFooWithALongName() {
33 public void bar() {
34 }
35 };
36
37
38
39
40
41
42 }
43
44 private interface AnInterfaceFooWithALongName {
45 void bar();
46 }
47
48 private static final int SLIST = 1;
49 private static final int parameters = 1;
50 int candidate = 0;
51 private String[] mIndentCheck = null;
52 private InputValidAssignIndent function = null;
53 int getLineNo() {
54 return 1;
55 }
56 String getLine() {
57 return "";
58 }
59 InputValidAssignIndent lastArgument() {
60 return this;
61 }
62 }