ConfigurationPointDefinitionImpl cpd = new ConfigurationPointDefinitionImpl(module, configuration.id(),
location, visibility, method.getReturnType().getName(), Occurances.UNBOUNDED);
module.addConfigurationPoint(cpd);
// Add method implementation as initial contribution
Contribution contribution = new MethodCallContributionConstructor(
location, method, instanceProvider);
ContributionDefinitionImpl cd = new ContributionDefinitionImpl(module, location, contribution, true);
cpd.addContribution(cd);
}