mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-15 14:13:28 +02:00
18 lines
205 B
Java
18 lines
205 B
Java
import java.lang.annotation.*;
|
|
|
|
aspect X {
|
|
declare warning: @Anno *: "Nothing should be annotated Anno!";
|
|
}
|
|
|
|
@Anno
|
|
class C {
|
|
|
|
}
|
|
|
|
class D {
|
|
|
|
}
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@interface Anno {}
|