blob: 3080004458125a89fa8f8f5d3ade1d0cc960a98b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
public class TryResources {
}
aspect Foo {
before(): execution(* *(..)) {
try (
InputStream in = new FileInputStream(src);
OutputStream out = new FileOutputStream(dest))
{
// code
}
}
}
|