From: acolyer Date: Tue, 13 Dec 2005 22:17:13 +0000 (+0000) Subject: fix section on annotation inheritance matching X-Git-Tag: V1_5_0RC1~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e50bf403b26657b4b39a6be0e34b7170dbc788a9;p=aspectj.git fix section on annotation inheritance matching --- diff --git a/docs/adk15ProgGuideDB/annotations.xml b/docs/adk15ProgGuideDB/annotations.xml index a49da8ddd..f0eb7de7d 100644 --- a/docs/adk15ProgGuideDB/annotations.xml +++ b/docs/adk15ProgGuideDB/annotations.xml @@ -1180,12 +1180,11 @@ - The pointcut c1MethodCall matches both - c1.aMethod() and c2.aMethod(). The call - to c2.aMethod is matched because the call join point has - multiple signatures (@SomeAnnotation C1.aMethod() and - C2.aMethod()), and the former of those signatures is - exactly matched by the pattern. + The pointcut annotatedMethodCall matches + c1.aMethod() but not c2.aMethod(). The call + to c2.aMethod is not matched because join point matching for + modifiers (the visibility modifiers, annotations, and throws clause) is based on + the subject of the join point (the method actually being called).