Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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. }