blob: f3f725f2d26e24c92ce868646b27b40ca9fa0887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
class CleanupName {
CleanupName() {
super();
}
void test() {
@lombok.Cleanup("toString") Object o = "Hello World!";
try
{
System.out.println(o);
}
finally
{
if ((java.util.Collections.singletonList(o).get(0) != null))
{
o.toString();
}
}
}
void test2() {
@lombok.Cleanup(value = "toString") Object o = "Hello World too!";
try
{
System.out.println(o);
}
finally
{
if ((java.util.Collections.singletonList(o).get(0) != null))
{
o.toString();
}
}
}
}
|