1package com.google.googlejavaformat.java.test;
2
3/** Tests for FieldAccesses, FieldDeclarations, and ForStatements. */
4class F {
5  int x;
6  int x1 = 0;
7  int y, z;
8  int y1 = 0, z1 = 0;
9  F f = null;
10  Object field0 =
11      true
12          ? true ? true ? null : null : true ? null : null
13          : true ? true ? null : null : true ? null : null;
14
15  Pair<
16          Pair<Pair<Integer, Integer>, Pair<Integer, Integer>>,
17          Pair<Pair<Integer, Integer>, Pair<Integer, Integer>>>
18      field1 = null;
19  Pair<
20          Pair<Pair<Integer, Integer>, Pair<Integer, Integer>>,
21          Pair<Pair<Integer, Integer>, Pair<Integer, Integer>>>
22      field2 =
23          true
24              ? true ? true ? null : null : true ? null : null
25              : true ? true ? null : null : true ? null : null;
26
27  @MarkerAnnotation
28  Pair<
29          Pair<Pair<Integer, Integer>, Pair<Integer, Integer>>,
30          Pair<Pair<Integer, Integer>, Pair<Integer, Integer>>>
31      field3 =
32          true
33              ? true ? true ? null : null : true ? null : null
34              : true ? true ? null : null : true ? null : null;
35
36  void f() {
37    for (int i =
38            0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
39                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
40                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0;
41        i
42            < 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
43                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
44                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 10;
45        i++) {
46      f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.Ff = null;
47    }
48    for (int i =
49            0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
50                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
51                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0;
52        i
53            < 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
54                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
55                + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 10;
56        i++) {
57      f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.Ff =
58          null;
59    }
60  }
61}
62