code: @Override
  	public IModuleBuilder getModuleBuilder(String mid, IResource res) {
  		IModuleBuilder builder = null;
  
  		String path = res.getPath();
  		int idx = path.lastIndexOf("."); //$NON-NLS-1$
  		String ext = (idx == -1) ? "" : path.substring(idx+1); //$NON-NLS-1$
  		if (ext.contains("/")) { //$NON-NLS-1$
  			ext = ""; //$NON-NLS-1$
  		}
  
  		for (IAggregatorExtension extension : getExtensions(IModuleBuilderExtensionPoint.ID)) {
  			String extAttrib = extension.getAttribute(IModuleBuilderExtensionPoint.EXTENSION_ATTRIBUTE);
  			if (ext.equals(extAttrib) || "*".equals(extAttrib)) { //$NON-NLS-1$
  				IModuleBuilder test = (IModuleBuilder)extension.getInstance();
  				if (test.handles(mid, res)) {
  					builder = test;
  					break;
  				}
  			}
  		}
  		if (builder == null) {
  			throw new UnsupportedOperationException(
  					"No module builder for " + mid //$NON-NLS-1$
  					);
  		}
  		return builder;
  
  	}
docs: /* (non-Javadoc)
  @see com.ibm.jaggr.service.modulebuilder.IModuleBuilderProvider#getModuleBuilder(java.lang.String, com.ibm.jaggr.service.resource.IResource)