blob: 94748bd28937e6462ae4ffbcc7d54e0ed3dce452 (
plain)
1
2
3
4
5
6
7
8
9
|
import org.aspectj.lang.annotation.*;
// Aspect deactivated if A is missing
@RequiredTypes("A")
aspect XA2 {
@SuppressAjWarnings("adviceDidNotMatch")
before(): execution(* A.*(..)) {}
}
|