blob: 4011721bdc4484da638ff1e1470b7454934bb3b4 (
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 ((o != null))
{
o.toString();
}
}
}
void test2() {
@lombok.Cleanup(value = "toString") Object o = "Hello World too!";
try
{
System.out.println(o);
}
finally
{
if ((o != null))
{
o.toString();
}
}
}
}
|