1
0
Mirror von https://github.com/eclipse-aspectj/aspectj.git synchronisiert 2024-08-15 14:13:28 +02:00
org.aspectj/tests/features160/annotationValueMatching/ShortValueMatching.java

18 Zeilen
311 B
Java

2008-02-25 22:28:33 +01:00
import java.lang.annotation.*;
public class ShortValueMatching {
public static void main(String[] args) { }
@Anno(sval=32700) public void methodOne() {}
@Anno(sval=27) public void methodTwo() {}
}
@interface Anno {
short sval();
}
aspect X {
before(): execution(@Anno(sval=32700) * *(..)) {}
}