final List<StepImplementation> list = this.parameters.getSyntax().checkForStepImplementations(
step.getKeyword(), step.getParameterLine(), step.getSource(), step.getSourceLineNumber());
if (list != null && !list.isEmpty()) {
final StepImplementation problem = list.get(0);
// we've got a step implementation that matches a parent
// step, ie a step that has substeps
// fail immediately or mark as parse error
final String msg = "line: [" + step.getParameterLine() + "] in [" + step.getSource()
+ "] matches step implementation method: [" + problem.getMethod().toString()
+ "] AND matches a sub step definition: [" + substepsParent.getParent().getParameterLine()
+ "] in [" + substepsParent.getSubStepFile() + "]";
throw new SubstepsConfigurationException(msg);