@Override public boolean processStepDefinition(StepDefinitionAnnotation stepDefinitionAnnotation) { StepMatcher stepMatcher = stepPatternParser.parseStep(stepType, stepDefinitionAnnotation.getAnnotationText()); if (stepMatcher.matches(stepText)) { matchingAnnotation = stepDefinitionAnnotation; return false; } return true; }
@Override public boolean processStepDefinition(StepDefinitionAnnotation stepDefinitionAnnotation) { suggestions.add(actualStepPrefix + " " + stepDefinitionAnnotation.getAnnotationText()); return true; }