mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
16 lines
265 B
Java
16 lines
265 B
Java
![]() |
public class SubAspectsCantExtendNonAbstractAspects {
|
||
|
public static void main(String[] args) {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class C {}
|
||
|
|
||
|
aspect A /*of eachobject(instanceof(C))*/ {
|
||
|
before(): call(* *(..)) {}
|
||
|
}
|
||
|
|
||
|
|
||
|
//ERROR: can't extend a concrete aspect
|
||
|
aspect SubA extends A {
|
||
|
}
|