public < T , A > Function < A , T > getConstructor ( Class < ? extends T > clazz , Class < A > arg ) { return getConstructorAs ( Function . class , "apply" , clazz , arg ) ; }
Gets single arg constructor as Function .