mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-02 05:58:13 +02:00
16 lines
365 B
Java
16 lines
365 B
Java
![]() |
//Bug 53012
|
||
|
// DP contains a declare precedence statement that mentions classes
|
||
|
|
||
|
public class DeclarePrecedenceTestClass {
|
||
|
public static void main(String[] args) {
|
||
|
System.out.println("hello");
|
||
|
}
|
||
|
}
|
||
|
aspect DP {
|
||
|
declare precedence: DeclarePrecedenceTestClass, DP;
|
||
|
|
||
|
before() : staticinitialization(DeclarePrecedenceTestClass) {
|
||
|
System.out.println("ok");
|
||
|
}
|
||
|
}
|