public static Class<?>[] getTypes( Object[] args )
    {
        if ( args == null )
            return Reflect.ZERO_TYPES;

        Class<?>[] types = new Class[ args.length ];

        for( int i=0; i < args.length; i++ )
            types[i] = getType(args[i]);

        return types;
    }
public static Class < ? > [ ] getTypes ( Object [ ] args ) { if ( args == null ) return Reflect . ZERO_TYPES ; Class < ? > [ ] types = new Class [ args . length ] ; for ( int i = 0 ; i < args . length ; i ++ ) types [ i ] = getType ( args [ i ] ) ; return types ; }
Get the Java types of the arguments.
@param args object array of argument values.
@return class array of argument types.