// Nothing to load here if no annotation is present
if (annotation == null) { return; }
// Don't load classes already loaded from this location
final PluggableClassMetaInformation preexistingMeta = pluginRegistry.getMetaInformationFor((Class<? extends Plugin>) possiblePlugin);
if (preexistingMeta != null) {
System.err.println("SKIPPING BECAUSE DOUBLE");
return;
}
// Register class at registry
final PluggableClassMetaInformation metaInformation = new PluggableClassMetaInformation();
metaInformation.pluginClassStatus = PluginClassStatus.ACCEPTED;
if (location != null) {
metaInformation.pluginOrigin = location.getLocation();
} else {
metaInformation.pluginOrigin = new URI("classpath://UNDEFINED");