blob: 00ebfc12f9a6cb72625eab40ff07e22d3657b0d6 (
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
34
35
|
package foo;
import java.io.*;
public class PlainJava {
public int i;
/**
* Mark that the transaction is "poisoned". I.e., it will have to rollback.
* If commit() is called, the transaction will roll back instead.
*/
public int getI() {
assert true;
new FileFilter() {
public boolean accept(File f) {
boolean accept = !(f.isDirectory() || f.getName().endsWith(".class")) ;
return accept;
}
};
return i;
}
static private class ClassBar {
static private class Baz {
static private class Jazz {
void mumble() { }
}
}
}
}
|