public Constructor < ? > findConstructor ( Class < ? > [ ] parameterTypes ) throws NoSuchMethodException { // make sure the constructor list is loaded maybeLoadConstructors ( ) ; if ( parameterTypes == null ) { parameterTypes = new Class < ? > [ 0 ] ; } return ( Constructor < ? > ) findMemberIn ( _ctorList , parameterTypes ) ; }
Returns the most specific public constructor in my target class that accepts the number and type of parameters in the given Class array in a reflective invocation .