Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
1234567891011121314 |
-
- import org.aspectj.testing.Tester;
- public class AspectInInterfaceCP {
- public static void main(String[] args) {
- Tester.checkEvents("before");
- }
- }
-
- interface HasPrivateAspect {
- /** @testcase PR#534 static aspect in interface causes CE if - usejavac */
- static aspect Inner {
- before(): execution(* main(..)) { Tester.event("before"); }
- }
- }
|