question: private void checkDuplicateBindings ( Collection < NewDependencyInfo > deps ) { SetMultimap < NewBindingKey , NewDependencyInfo > map = NewDependencyCollector . collectionToMultimap ( deps ) ; for ( NewBindingKey key : map . keySet ( ) ) { Set < NewDependencyInfo > dependencies = map . get ( key ) ; if ( dependencies . size ( ) == 1 ) { continue ; } for ( NewDependencyInfo info : dependencies ) { if ( info . isUnique ( ) ) { messager . printMessage ( Kind . ERROR , String . format ( "Key %s has multiple bindings including unique type one(s). Bindings found: %s" , key , dependencies ) ) ; break ; } } } }
target:  Checks if there are duplicated bindings for the a key.