@Override
  protected PsiElement getElement(@NotNull PsiFile file, int offset) {
    final SPIClassProviderReferenceElement
      providerElement = PsiTreeUtil.getParentOfType(super.getElement(file, offset), SPIClassProviderReferenceElement.class);
    if (providerElement != null) {
      return providerElement.resolve();
    }

    return null;
  }
@Override
  protected PsiElement getElement(@NotNull PsiFile file, int offset)