DimensionDefaultValueSelectionStrategy delegateStrategy, DimensionDescriptor dd) {
String sa = dd.getStartAttribute();
String ea = dd.getEndAttribute();
if (delegateStrategy instanceof CoverageMaximumValueSelectionStrategyImpl) {
if (ea != null) {
return new MaxVisitor(ea);
} else {
return new MaxVisitor(sa);
}
} else if (delegateStrategy instanceof CoverageMinimumValueSelectionStrategyImpl) {
return new MinVisitor(sa);
} else if (delegateStrategy instanceof CoverageNearestValueSelectionStrategyImpl) {
CoverageNearestValueSelectionStrategyImpl impl = (CoverageNearestValueSelectionStrategyImpl) delegateStrategy;