}
public <T> T produceModel(Class<T> type, ConsumerOperationParameters operationParameters) {
if (type.equals(GradleBuild.class)) {
GradleProject gradleProject = delegate.produceModel(GradleProject.class, operationParameters);
final DefaultGradleBuild convert = new GradleBuildConverter().convert(gradleProject);
return adapter.adapt(type, convert);
}
return delegate.produceModel(type, operationParameters);
}