protected void parseArrayActionResult(final Array<String> array, final Object result) {
        if (result instanceof Object[]) {
            for (final Object object : (Object[]) result) {
                array.add(Nullables.toString(object));
            }
        } else if (result instanceof Iterable<?>) {
            for (final Object object : (Iterable<?>) result) {
                array.add(Nullables.toString(object));
            }
        } else {
            array.add(Nullables.toString(result));
        }
    }
protected void parseArrayActionResult ( final Array < String > array , final Object result ) { if ( result instanceof Object [ ] ) { for ( final Object object : ( Object [ ] ) result ) { array . add ( Nullables . toString ( object ) ) ; } } else if ( result instanceof Iterable < ? > ) { for ( final Object object : ( Iterable < ? > ) result ) { array . add ( Nullables . toString ( object ) ) ; } } else { array . add ( Nullables . toString ( result ) ) ; } }
@param array will contain the parsed values.
@param result result of an invoked method. Will be appended to the array.