1 2 3 4 5 6
package a; aspect A { before():staticinitialization(!A) { System.out.println("intercepted "+thisJoinPoint.getSignature().getDeclaringType()); } }