You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PlainJava.java 596B

1234567891011121314151617181920212223242526272829303132333435
  1. package foo;
  2. import java.io.*;
  3. public class PlainJava {
  4. public int i;
  5. /**
  6. * Mark that the transaction is "poisoned". I.e., it will have to rollback.
  7. * If commit() is called, the transaction will roll back instead.
  8. */
  9. public int getI() {
  10. assert true;
  11. new FileFilter() {
  12. public boolean accept(File f) {
  13. boolean accept = !(f.isDirectory() || f.getName().endsWith(".class")) ;
  14. return accept;
  15. }
  16. };
  17. return i;
  18. }
  19. static private class ClassBar {
  20. static private class Baz {
  21. static private class Jazz {
  22. void mumble() { }
  23. }
  24. }
  25. }
  26. }