public void updateDependencies(){
  @SuppressWarnings("unchecked") SetMultimap<String,String> dependencies=(SetMultimap<String,String>)get(ATTR_DEPENDENCIES_MULTIMAP);
  if (dependencies == null) {
    dependencies=HashMultimap.create();
  }
  RepositoryUrlManager urlManager=RepositoryUrlManager.get();
  Object fragmentsExtra=get(ATTR_FRAGMENTS_EXTRA);
  Object navigationDrawerExtra=get(ATTR_NAVIGATION_DRAWER_EXTRA);
  if ((fragmentsExtra != null && Boolean.parseBoolean(fragmentsExtra.toString())) || (navigationDrawerExtra != null && Boolean.parseBoolean(navigationDrawerExtra.toString()))) {
    dependencies.put(SdkConstants.GRADLE_COMPILE_CONFIGURATION,urlManager.getLibraryStringCoordinate(SupportLibrary.SUPPORT_V4,true));
  }
  Object actionBarExtra=get(ATTR_ACTION_BAR_EXTRA);
  if (actionBarExtra != null && Boolean.parseBoolean(actionBarExtra.toString())) {
    dependencies.put(SdkConstants.GRADLE_COMPILE_CONFIGURATION,urlManager.getLibraryStringCoordinate(SupportLibrary.APP_COMPAT_V7,true));
  }
  Object gridLayoutExtra=get(ATTR_GRID_LAYOUT_EXTRA);
  if (gridLayoutExtra != null && Boolean.parseBoolean(gridLayoutExtra.toString())) {
    dependencies.put(SdkConstants.GRADLE_COMPILE_CONFIGURATION,urlManager.getLibraryStringCoordinate(SupportLibrary.GRID_LAYOUT_V7,true));
  }
  put(ATTR_DEPENDENCIES_MULTIMAP,dependencies);
}

public void updateDependencies ( ) { @ SuppressWarnings ( "unchecked" ) SetMultimap < String , String > dependencies = ( SetMultimap < String , String > ) get ( ATTR_DEPENDENCIES_MULTIMAP ) ; if ( dependencies == null ) { dependencies = HashMultimap . create ( ) ; } RepositoryUrlManager urlManager = RepositoryUrlManager . get ( ) ; Object fragmentsExtra = get ( ATTR_FRAGMENTS_EXTRA ) ; Object navigationDrawerExtra = get ( ATTR_NAVIGATION_DRAWER_EXTRA ) ; if ( ( fragmentsExtra != null && Boolean . parseBoolean ( fragmentsExtra . toString ( ) ) ) || ( navigationDrawerExtra != null && Boolean . parseBoolean ( navigationDrawerExtra . toString ( ) ) ) ) { dependencies . put ( SdkConstants . GRADLE_COMPILE_CONFIGURATION , urlManager . getLibraryStringCoordinate ( SupportLibrary . SUPPORT_V4 , true ) ) ; } Object actionBarExtra = get ( ATTR_ACTION_BAR_EXTRA ) ; if ( actionBarExtra != null && Boolean . parseBoolean ( actionBarExtra . toString ( ) ) ) { dependencies . put ( SdkConstants . GRADLE_COMPILE_CONFIGURATION , urlManager . getLibraryStringCoordinate ( SupportLibrary . APP_COMPAT_V7 , true ) ) ; } Object gridLayoutExtra = get ( ATTR_GRID_LAYOUT_EXTRA ) ; if ( gridLayoutExtra != null && Boolean . parseBoolean ( gridLayoutExtra . toString ( ) ) ) { dependencies . put ( SdkConstants . GRADLE_COMPILE_CONFIGURATION , urlManager . getLibraryStringCoordinate ( SupportLibrary . GRID_LAYOUT_V7 , true ) ) ; } put ( ATTR_DEPENDENCIES_MULTIMAP , dependencies ) ; }
updates the dependencies stored in the parameters map , to include support libraries required by the extra features selected .
