@NotNull public Collection<String> findModulesWithModel(@NotNull Class modelClazz){
  List<String> modules=new ArrayList<String>();
  for (  Map.Entry<String,Object> set : projectsByPath.entrySet()) {
    if (modelClazz.isInstance(set.getValue())) {
      modules.add(extractModulePath(modelClazz,set.getKey()));
    }
  }
  return modules;
}

@ NotNull public Collection < String > findModulesWithModel ( @ NotNull Class modelClazz ) { List < String > modules = new ArrayList < String > ( ) ; for ( Map . Entry < String , Object > set : projectsByPath . entrySet ( ) ) { if ( modelClazz . isInstance ( set . getValue ( ) ) ) { modules . add ( extractModulePath ( modelClazz , set . getKey ( ) ) ) ; } } return modules ; }
return collection path of modules provides the model
