aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtBehavior.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/CtBehavior.java')
-rw-r--r--src/main/javassist/CtBehavior.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/javassist/CtBehavior.java b/src/main/javassist/CtBehavior.java
index 10dda556..4f2de78a 100644
--- a/src/main/javassist/CtBehavior.java
+++ b/src/main/javassist/CtBehavior.java
@@ -155,7 +155,10 @@ public abstract class CtBehavior extends CtMember {
/**
* Returns the parameter annotations associated with this method or constructor.
*
- * @return an array of annotation-type objects.
+ * @return an array of annotation-type objects. The length of the returned array is
+ * equal to the number of the formal parameters. If each parameter has no
+ * annotation, the elements of the returned array are empty arrays.
+ *
* @see CtMember#getAnnotations()
* @since 3.1
*/