summaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/coverage/Test006.java
blob: 4e0ad77a6e043b796859437a5bf1dc528714d487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// "class with @Before extending @Aspect class"

// shouldn't allow advice in a non-aspect type

import org.aspectj.lang.annotation.*;

@Aspect
class A{
}
class B extends A{
  @Before("call(* org..*(..))")
  public void someCall(){
  }
}