@Override
  public void findDeclarationsAt(@NotNull PsiElement element, int offsetInElement, @NotNull Consumer<? super PomTarget> consumer) {
    if (element.getLanguage() == YAMLLanguage.INSTANCE && element instanceof YAMLKeyValue) {
      consumer.consume((YAMLKeyValue)element);
    }
  }
@Override
  public void findDeclarationsAt(@NotNull PsiElement element, int offsetInElement, @NotNull Consumer<? super PomTarget> consumer)