Collection<String> subclasses = null;
// Check if it has a list of plugins
if (location instanceof JARClasspathLocation) {
final JARClasspathLocation jarLocation = (JARClasspathLocation) location;
subclasses = jarLocation.getPredefinedPluginList();
}
// Add all found files ... if we have no predefined list
if (subclasses == null)
subclasses = manager.findSubclassesFor(location, Plugin.class);