mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-27 05:54:38 +02:00
12 lines
348 B
Plaintext
12 lines
348 B
Plaintext
|
// Bug 53012
|
||
|
// Although the declare precedence mentions interfaces (and not aspects explicitly), it does
|
||
|
// mention with a '+' suffix - this should be allowed.
|
||
|
|
||
|
public aspect Priority {
|
||
|
public interface Highest {}
|
||
|
public interface Lowest {}
|
||
|
declare precedence: Highest+, *, Lowest+;
|
||
|
}
|
||
|
|
||
|
aspect Security implements Priority.Highest {}
|