public aspect Foo { pointcut overriddenMethod(): call(@Bar * *(. .)); before(): overriddenMethod() { System.err.println(thisJoinPointStaticPart); } }