this.ruleLocationExtractor = ruleLocationExtractor;
}
public void configure(String modelPathString, Closure<?> configuration) {
List<ModelReference<?>> references = inputPathsExtractor.transform(configuration);
SourceLocation sourceLocation = ruleLocationExtractor.transform(configuration);
ModelPath modelPath = ModelPath.path(modelPathString);
Closure<?> reownered = configuration.rehydrate(null, owner, thisObject);
modelRegistry.mutate(new ClosureBackedModelMutator(reownered, references, modelPath, sourceLocation));
}