question: public void removeModule ( @ NotNull Module module ) { checkInitialized ( ) ; String moduleGradlePath = getModuleGradlePath ( module ) ; if ( moduleGradlePath != null ) { removeModule ( moduleGradlePath ) ; } }
target:  Removes the reference to the module from the settings file, if present. Must be run inside a write action.