@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 PsiElement resolve() { StepDefinitionAnnotation stepDefinitionAnnotation = stepDefinitionAnnotation(); if (stepDefinitionAnnotation == null) return null; return stepDefinitionAnnotation.getAnnotation(); }
@Override public boolean processStepDefinition(StepDefinitionAnnotation stepDefinitionAnnotation) { suggestions.add(actualStepPrefix + " " + stepDefinitionAnnotation.getAnnotationText()); return true; }