question: @ 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 ; }
target:  Return collection path of modules provides the model