aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/resources/com/google/googlejavaformat/java/testdata/B308157568.output
blob: 089a3f1e823a94215b78e90e5e86e6037bc2101c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class C {
  @A(0x14)
  int f(Object o) {
    @A(0x40)
    int local;
    try (@A(0x41)
        JarFile jarFile = new JarFile("hello.jar")) {
    } catch (
        @A(0x42)
        IOException e) {
    }
    if (o instanceof @A(0x43) String) {}
    new @A(0x44) ArrayList<>();
    Supplier<List<?>> a = @A(0x45) ArrayList::new;
    Supplier<List<?>> b = @A(0x46) ImmutableList::of;
    String s = (@A(0x47) String) o;
    List<?> xs = new ArrayList<@A(0x48) String>();
    xs = ImmutableList.<@A(0x49) String>of();
    Supplier<List<?>> c = ArrayList<@A(0x4A) String>::new;
    Supplier<List<?>> d = ImmutableList::<@A(0x4B) String>of;
    return 0;
  }
}