diff options
Diffstat (limited to 'aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java')
-rw-r--r-- | aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java index ae42b542e..286f9c7e5 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java @@ -29,4 +29,13 @@ public @interface After { * The pointcut expression where to bind the advice */ String value(); + + /** + * When compiling without debug info, or when interpreting pointcuts at runtime, + * the names of any arguments used in the advice declaration are not available. + * Under these circumstances only, it is necessary to provide the arg names in + * the annotation - these MUST duplicate the names used in the annotated method. + * Format is a simple comma-separated list. + */ + String argNames() default ""; } |