if(table == null)
throw new BadDescriptorException("Could not load parse table from " + TABLE + " (not found in plugin: " + getPluginLocation() + ")");
descriptorStream = imposeRegisteredExtensions(descriptorStream);
Descriptor descriptor = DescriptorFactory.load(descriptorStream, table, filesystem ? org.eclipse.core.runtime.Path.fromPortableString("./") : null);
descriptor.setAttachmentProvider(SugarJParseControllerGenerated.class);
return descriptor;
}
catch(BadDescriptorException exc)
{
org.strategoxt.imp.runtime.Environment.logException("Bad descriptor for " + LANGUAGE + " plugin", exc);