Consider this method:
@Access(rights = GUEST)
public void foo() {
doSomething();
}
This pointcut basically matches if the method has an annotation @Access:
pointcut check() :
execution(@Access * *(..));
But how can I access the field rightsfor @Access, which retains a certain level of access so that I can work with it?
source
share