class Utils {

    public static Object[] getMethodArgs(final Collection<Integer> indexes, final Object[] args, final String methodDesc) {
        Object[] selectedArgs = new Object[indexes.size()];
        Iterator<Integer> iter = indexes.iterator();
        for (int i = 0; i < indexes.size(); i++) {
            selectedArgs[i] = getMethodArg(iter.next(), args, methodDesc);
        }

        return selectedArgs;
    }

    private  Utils();

}