question: protected void putCommand ( final Class commandClass , final String [ ] names ) { Check . isTrue ( names . length > 0 , "names.length > 0" ) ; _commandsToCanonicalNames . put ( commandClass , names [ 0 ] ) ; for ( int i = 0 ; i < names . length ; i ++ ) { _aliasesToCommands . put ( names [ i ] , commandClass ) ; } }
target:  Add a command in the hash map.