aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr292584/ClassWithJoinPoint.java
blob: 32b646fc8abb52955d242005967b8696fa4b6374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class ClassWithJoinPoint {
    public Boolean getValue() {
        return Boolean.FALSE;
    }

   public static void main(String[] arguments) {
/*
        System.out.println("Testing aspect style (should print \"true\"):");
        System.out.println(new aspect_style.ClassWithJoinPoint().getValue());
        
        System.out.println();
*/
        System.out.println("Testing annotation style (should print \"true\"):");
        System.out.println(new ClassWithJoinPoint().getValue());
    }
}