From e50bf403b26657b4b39a6be0e34b7170dbc788a9 Mon Sep 17 00:00:00 2001 From: acolyer Date: Tue, 13 Dec 2005 22:17:13 +0000 Subject: [PATCH] fix section on annotation inheritance matching --- docs/adk15ProgGuideDB/annotations.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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). -- 2.39.5