public <M> List<M> getEnabledModulesByClass(Class<M> moduleClass, List<M> defaultPlugins) {
		ArrayList<M> pluginClasses = new ArrayList<>();
		if (defaultPlugins != null) {
			pluginClasses.addAll(defaultPlugins);
		}
		pluginClasses.addAll(manager.getExtensions(moduleClass));
		return pluginClasses;
	}
Get plugins by module class.
<p/>
This method puts the given default plugin at a head of returned plugin list.

@param <M>           module type
@param moduleClass   module class
@param defaultPlugins default plugins
@return plugin list
ngrinder-controller/src/main/java/org/ngrinder/infra/plugin/PluginManager.java