diff options
Diffstat (limited to 'tests/bugs153/pr132080/AbstractSuperAspectWithInterface.aj')
-rw-r--r-- | tests/bugs153/pr132080/AbstractSuperAspectWithInterface.aj | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs153/pr132080/AbstractSuperAspectWithInterface.aj b/tests/bugs153/pr132080/AbstractSuperAspectWithInterface.aj new file mode 100644 index 000000000..8182dfdf6 --- /dev/null +++ b/tests/bugs153/pr132080/AbstractSuperAspectWithInterface.aj @@ -0,0 +1,13 @@ +public abstract aspect AbstractSuperAspectWithInterface /*implements TestInterface*/ { + + protected abstract pointcut scope (); + + before () : execution(public static void main(String[])) && scope() { + System.out.println("? " + thisJoinPoint.getSignature()); + } + + protected AbstractSuperAspectWithInterface () { + TestInterface test = (TestInterface)this; + test.interfaceMethod(); + } +} |