public @Nullable PsiNamedElement getQualifierIfPresent(@NotNull PsiType targetType) {
    return DumbService.getInstance(myProject).computeWithAlternativeResolveEnabled(() -> ContainerUtil.find(myContextElements, e -> {
      PsiType elementType = getType(e);
      return elementType != null && targetType.isAssignableFrom(elementType);
    }));
  }
public @Nullable PsiNamedElement getQualifierIfPresent(@NotNull PsiType targetType)