@ SuppressWarnings ( "unchecked" ) protected Class [ ] getArgumentTypes ( final Object ... arguments ) { Class [ ] argumentTypes = new Class [ arguments . length ] ; int index = 0 ; for ( Object argument : arguments ) { argumentTypes [ index ++ ] = ObjectUtils . defaultIfNull ( ClassUtils . getClass ( argument ) , Object . class ) ; } return argumentTypes ; }
Determines the class types of the array of object arguments .