Example usage for Java org.apache.commons.lang.reflect ConstructorUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
Constructor | getAccessibleConstructor(Class cls, Class parameterType) Returns a constructor with single argument. |
Constructor | getAccessibleConstructor(Class cls, Class[] parameterTypes) Returns a constructor given a class and signature. |
Constructor | getMatchingAccessibleConstructor(Class cls, Class[] parameterTypes) Find an accessible constructor with compatible parameters. |
Object | invokeConstructor(Class cls, Object arg) Returns new instance of |
Object | invokeConstructor(Class cls, Object[] args) Returns new instance of |
Object | invokeConstructor(Class cls, Object[] args, Class[] parameterTypes) Returns new instance of The signatures should be assignment compatible. |