日期:2014-05-18 浏览次数:20643 次
@Pointcut("!withincode(@org.junit.Test * demo..*(..))")
public void notInTestMethod() {}
@Pointcut("getStringFieldAnnotatedWithInjectInTheDemoPackage() && notInTestMethod()")
public void getStringFieldAnnotatedWithInjectInTheDemoPackageAndNotInTestMethod() {}