public void alias ( Object ... args ) { if ( args . length % 2 == 1 ) throw new RuntimeException ( "Even number of arguments expected" ) ; for ( int i = 0 ; i < args . length ; i += 2 ) { aliasGeneric ( args [ i ] , ( String ) args [ i + 1 ] ) ; } }
Creates multiple aliases at once .