protected List < String > defaultParameterTypes ( Class < ? > [ ] parameterTypes ) { List < String > names = new ArrayList <> ( ) ; for ( int i = 0 ; i < parameterTypes . length ; i ++ ) { names . add ( "arg" + i ) ; } return names ; }
Add the parameter types to a list of names .