public void checkAllClassesInModule ( List < String > errors ) { for ( ClassModel clazz : classes . values ( ) ) { if ( clazz . getModule ( ) == null ) { errors . add ( "Class " + clazz + " is in no module" ) ; } } }
Check if all classes belong to a module