From: aclement Date: Thu, 21 Feb 2008 01:05:35 +0000 (+0000) Subject: 210848: better javadoc X-Git-Tag: V1_6_0M2~45 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4715bcd195773fb2321270e20458482c00b3854;p=aspectj.git 210848: better javadoc --- diff --git a/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java b/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java index 9d220358d..5bbc2df85 100644 --- a/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java +++ b/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java @@ -41,8 +41,21 @@ public interface ProceedingJoinPoint extends JoinPoint { /** * Proceed with the next advice or target method invocation *

- * The given args Object[] must be in the same order and size as the advice signature but - * without the actual joinpoint instance + *

Unlike code style, proceed(..) in annotation style places different requirements on the + * parameters passed to it. The proceed(..) call takes, in this order: + *

+ *

Since proceed(..) in this case takes an Object array, AspectJ cannot do as much + * compile time checking as it can for code style. If the rules above aren't obeyed + * then it will unfortunately manifest as a runtime error. + *

* * @param args * @return