From a7d57dab76b3a8dda616ea0e1e0f0afc1504bf60 Mon Sep 17 00:00:00 2001 From: ehilsdal Date: Mon, 23 Aug 2004 01:33:22 +0000 Subject: [PATCH] Fix for bugzilla bug 71404: Define MethodPattern, FieldPattern, ConstructorPattern terms --- docs/progGuideDB/semantics.xml | 40 +++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/docs/progGuideDB/semantics.xml b/docs/progGuideDB/semantics.xml index a64dd8101..260efa221 100644 --- a/docs/progGuideDB/semantics.xml +++ b/docs/progGuideDB/semantics.xml @@ -460,8 +460,8 @@ Picks out each join point where the currently executing object (the object bound to this) is an instance of - Type, or of the type of - Id (which must be bound in the enclosing + Type, or of the type of the + identifier Id (which must be bound in the enclosing advice or pointcut definition). Will not match any join points from static contexts. @@ -472,7 +472,7 @@ Picks out each join point where the target object (the object on which a call or field operation is applied to) is an instance of - Type, or of the type of + Type, or of the type of the identifier Id (which must be bound in the enclosing advice or pointcut definition). Will not match any calls, gets, or sets of static members. @@ -1482,6 +1482,40 @@ + + Pattern Summary + + + Here is a summary of the pattern syntax used in AspectJ: + + + +MethodPattern = + [ModifiersPattern] TypePattern + [TypePattern . ] IdPattern (TypePattern | ".." , ... ) + [ throws ThrowsPattern ] +ConstructorPattern = + [ModifiersPattern ] + [TypePattern . ] new (TypePattern | ".." , ...) + [ throws ThrowsPattern ] +FieldPattern = + [ModifiersPattern] TypePattern [TypePattern . ] IdPattern +ThrowsPattern = + [ ! ] TypePattern , ... +TypePattern = + IdPattern [ + ] [ [] ... ] + | ! TypePattern + | TypePattern TypePattern + | TypePattern || TypePattern + | ( TypePattern ) +IdPattern = + Sequence of characters, possibly with special * and .. wildcards +ModifiersPattern = + [ ! ] JavaModifier ... + + + + -- 2.39.5