public static InputMapping<?>[] createArrayMapping( Object[] arguments ){
        if( arguments == null || arguments.length == 0 ){
            return null;
        }
        List<InputMapping<?>> list = new ArrayList<>();
        for( Object argument : arguments ){
            list.add( createInputMapping( argument ) );
        }
        return list.toArray( new InputMapping<?>[arguments.length] );

    }
public static InputMapping < ? > [ ] createArrayMapping ( Object [ ] arguments ) { if ( arguments == null || arguments . length == 0 ) { return null ; } List < InputMapping < ? > > list = new ArrayList < > ( ) ; for ( Object argument : arguments ) { list . add ( createInputMapping ( argument ) ) ; } return list . toArray ( new InputMapping < ? > [ arguments . length ] ) ; }
Creates an array of {@link InputMapping}s based on an array of arguments.
Uses {@link ElementUtil#createInputMapping(Object)} for every argument.