@@ -121,8 +121,8 @@ public MethodParameter(Method method, int parameterIndex) {
121121 * return type; 0 for the first method parameter; 1 for the second method
122122 * parameter, etc.
123123 * @param nestingLevel the nesting level of the target type
124- * (typically 1; for example, in case of a List of Lists, 1 would indicate the
125- * nested List, whereas 2 would indicate the element of the nested List)
124+ * (1 for the top-level type; in case of a List of Lists, 2 would indicate
125+ * the nested List, whereas 3 would indicate the element of the nested List)
126126 */
127127 public MethodParameter (Method method , int parameterIndex , int nestingLevel ) {
128128 Assert .notNull (method , "Method must not be null" );
@@ -145,8 +145,8 @@ public MethodParameter(Constructor<?> constructor, int parameterIndex) {
145145 * @param constructor the Constructor to specify a parameter for
146146 * @param parameterIndex the index of the parameter
147147 * @param nestingLevel the nesting level of the target type
148- * (typically 1; for example, in case of a List of Lists, 1 would indicate the
149- * nested List, whereas 2 would indicate the element of the nested List)
148+ * (1 for the top-level type; in case of a List of Lists, 2 would indicate
149+ * the nested List, whereas 3 would indicate the element of the nested List)
150150 */
151151 public MethodParameter (Constructor <?> constructor , int parameterIndex , int nestingLevel ) {
152152 Assert .notNull (constructor , "Constructor must not be null" );
@@ -296,8 +296,8 @@ public void decreaseNestingLevel() {
296296
297297 /**
298298 * Return the nesting level of the target type
299- * (typically 1; for example, in case of a List of Lists, 1 would indicate the
300- * nested List, whereas 2 would indicate the element of the nested List).
299+ * (1 for the top-level type; in case of a List of Lists, 2 would indicate
300+ * the nested List, whereas 3 would indicate the element of the nested List).
301301 */
302302 public int getNestingLevel () {
303303 return this .nestingLevel ;
0 commit comments