mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-16 02:10:48 +02:00
17 lines
288 B
Java
17 lines
288 B
Java
import java.lang.annotation.*;
|
|
|
|
public class ErrorOne {
|
|
public static void main(String[] args) { }
|
|
}
|
|
|
|
@interface Anno {
|
|
float fval();
|
|
}
|
|
|
|
enum Color { RED,GREEN,BLUE };
|
|
|
|
// Non existent value of the annotation!
|
|
aspect X {
|
|
before(): execution(@Anno(ival=Color.GREEN) * *(..)) {}
|
|
}
|