public static Plugin loadCustomPlugin(URL urlString,@CheckForNull Project project) throws PluginException {
  Plugin plugin=addCustomPlugin(urlString);
  if (project != null) {
    project.setPluginStatusTrinary(plugin.getPluginId(),true);
  }
  return plugin;
}

public static Plugin loadCustomPlugin ( URL urlString , @ CheckForNull Project project ) throws PluginException { Plugin plugin = addCustomPlugin ( urlString ) ; if ( project != null ) { project . setPluginStatusTrinary ( plugin . getPluginId ( ) , true ) ; } return plugin ; }
loads the given plugin and enables it for the given project .
