final StepImplementation implAlreadyGot = patternMap.getValueForPattern(pattern);
if (!implAlreadyGot.getMethod().equals(impl.getMethod())) {
final StepImplementationException ex = new DuplicateStepImplementationException(pattern,
patternMap.getValueForPattern(pattern), impl);
this.syntaxErrorReporter.reportStepImplError(ex);
if (this.failOnDuplicateStepImplementations) {
throw ex;
}