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 c7a968d8c..a7792e924 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java @@ -64,30 +64,6 @@ public class ConstructorUtils { super(); } - /** - *
Convenience method returning new instance of klazz
using a single argument constructor.
- * The formal parameter type is inferred from the actual values of arg
.
- * See {@link #invokeExactConstructor(Class, Object[], Class[])} for more details.
The signatures should be assignment compatible.
- * - * @param cls the class to be constructed. - * @param arg the actual argument - * @return new instance ofklazz
- *
- * @throws NoSuchMethodException If the constructor cannot be found
- * @throws IllegalAccessException If an error occurs accessing the constructor
- * @throws InvocationTargetException If an error occurs invoking the constructor
- * @throws InstantiationException If an error occurs instantiating the class
- *
- * @see #invokeConstructor(java.lang.Class, java.lang.Object[], java.lang.Class[])
- */
- public static Returns new instance of Convenience method returning new instance of The signatures should match exactly. Returns new instance of klazz
created using the actual arguments args
.
* The formal parameter types are inferred from the actual values of args
.
@@ -106,7 +82,7 @@ public class ConstructorUtils {
*
* @see #invokeConstructor(java.lang.Class, java.lang.Object[], java.lang.Class[])
*/
- public static klazz
using a single argument constructor.
- * The formal parameter type is inferred from the actual values of arg
.
- * See {@link #invokeExactConstructor(Class, Object[], Class[])} for more details.klazz
- *
- * @throws NoSuchMethodException If the constructor cannot be found
- * @throws IllegalAccessException If an error occurs accessing the constructor
- * @throws InvocationTargetException If an error occurs invoking the constructor
- * @throws InstantiationException If an error occurs instantiating the class
- *
- * @see #invokeExactConstructor(java.lang.Class, java.lang.Object[], java.lang.Class[])
- */
- public static klazz
created using the actual arguments args
.
* The formal parameter types are inferred from the actual values of args
.
@@ -197,7 +149,7 @@ public class ConstructorUtils {
*
* @see #invokeExactConstructor(java.lang.Class, java.lang.Object[], java.lang.Class[])
*/
- public static