Code example for Constructor

Methods: getParameterTypes

    protected Class<?>[] getParameterTypeArray() {
        return constructor.getParameterTypes();
     * Returns a new instance for the given arguments. 
     * @param arguments the arguments. 
     * @return a new instance. 
     * @see Constructor#newInstance(Object...) 
    public T newInstance(final Object... arguments) {
        return UncheckedCall.execute(new Callable<T>() {
            public T call() throws InvocationTargetException, InstantiationException, IllegalAccessException { 
                return constructor.newInstance(arguments);
Connect your IDE to all the code out there  Get Codota for Java