diff --git a/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java b/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java index fdf9aab37..dd1aa0196 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java @@ -24,7 +24,7 @@ import org.apache.commons.lang3.ClassUtils; /** - *
Utility reflection methods focussed on constructors, modelled after + *
Utility reflection methods focused on constructors, modeled after * {@link MethodUtils}.
* *ConstructorUtils
contains a workaround for this situation. It
* will attempt to call setAccessible
on this constructor. If this
* call succeeds, then the method can be invoked as normal. This call will only
- * succeed when the application has sufficient security privilages. If this call
+ * succeed when the application has sufficient security privileges. If this call
* fails then a warning will be logged and the method may fail.
Returns a new instance of klazz
created using the actual
+ *
Returns a new instance of Returns a new instance of Returns a new instance of Returns a new instance of Returns a new instance of Returns a new instance of Returns a new instance of cls
created using the actual
* arguments args
. The formal parameter types are inferred from
* the actual values of args
. See
* {@link #invokeExactConstructor(Class, Object[], Class[])} for more
@@ -69,7 +69,7 @@ public ConstructorUtils() {
* @param klazz
+ * @return new instance of cls
*
* @throws NoSuchMethodException If the constructor cannot be found
* @throws IllegalAccessException If an error occurs accessing the
@@ -95,7 +95,7 @@ public static klazz
created using constructor
+ * cls
created using constructor
* with signature parameterTypes
and actual arguments
* args
.klazz
+ * @return new instance of cls
*
* @throws NoSuchMethodException if matching constructor cannot be found
* @throws IllegalAccessException thrown on the constructor's invocation
@@ -131,7 +131,7 @@ public static klazz
created using the actual
+ * cls
created using the actual
* arguments args
. The formal parameter types are inferred from
* the actual values of args
. See
* {@link #invokeExactConstructor(Class, Object[], Class[])} for more
@@ -142,7 +142,7 @@ public static klazz
+ * @return new instance of cls
*
* @throws NoSuchMethodException If the constructor cannot be found
* @throws IllegalAccessException If an error occurs accessing the
@@ -169,7 +169,7 @@ public static klazz
created using constructor
+ * cls
created using constructor
* with signature parameterTypes
and actual arguments
* args
.klazz
+ * @return new instance of cls
*
* @throws NoSuchMethodException if matching constructor cannot be found
* @throws IllegalAccessException thrown on the constructor's invocation