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.

ParenKeywords.java 360B

1234567891011121314151617
  1. import org.aspectj.testing.Tester;
  2. public class ParenKeywords {
  3. public static void main(String[] args) {
  4. if ((false) || (true)) {
  5. new ParenKeywords().foo();
  6. }
  7. Tester.checkEvents("foo");
  8. }
  9. void foo() {
  10. if ((this) == (null)) {
  11. System.err.println("shouldn't happen");
  12. } else {
  13. Tester.event("foo");
  14. }
  15. }
  16. }