public ModuleDepInfo andWith ( ModuleDepInfo other ) { if ( other == null ) { return this ; } formula . andWith ( other . formula ) ; if ( ! isPluginNameDeclared && other . isPluginNameDeclared ) { pluginName = other . pluginName ; isPluginNameDeclared = true ; } else if ( pluginName == null ) { pluginName = other . pluginName ; isPluginNameDeclared = other . isPluginNameDeclared ; } return this ; }
logically ands the provided terms with the formula belonging to this object updating this object with the result .