Java org.apache.commons.lang.reflect ConstructorUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.lang.reflect ConstructorUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.lang.reflect ConstructorUtils.

The text is from its open source code.

Method

ConstructorgetAccessibleConstructor(Class cls, Class parameterType)
Returns a constructor with single argument.
ConstructorgetAccessibleConstructor(Class cls, Class[] parameterTypes)
Returns a constructor given a class and signature.
ConstructorgetMatchingAccessibleConstructor(Class cls, Class[] parameterTypes)

Find an accessible constructor with compatible parameters.

ObjectinvokeConstructor(Class cls, Object arg)

Returns new instance of klazz created using the actual arguments args.

ObjectinvokeConstructor(Class cls, Object[] args)

Returns new instance of klazz created using the actual arguments args.

ObjectinvokeConstructor(Class cls, Object[] args, Class[] parameterTypes)

Returns new instance of klazz created using constructor with signature parameterTypes and actual arguments args.

The signatures should be assignment compatible.