for (CucumberJvmExtensionPoint e : extensionList) {
final List<PsiElement> extensionResult = e.resolveStep(myStep);
for (final PsiElement element : extensionResult) {
if (element != null && !resolvedElements.contains(element)) {
resolvedElements.add(element);
result.add(new ResolveResult() {
@Override
public PsiElement getElement() {
return element;
}