@Override
  public Object @NotNull [] getVariants() {
    PyClassPattern classPattern = getContainingClassPattern();
    if (classPattern == null) {
      return LookupElement.EMPTY_ARRAY;
    }
    PyKeywordPattern keywordPattern = getElement();
    TypeEvalContext typeContext = TypeEvalContext.codeCompletion(keywordPattern.getProject(), keywordPattern.getContainingFile());
    return collectClassAttributeVariants(getElement(), classPattern, typeContext);
  }
@Override
  public Object @NotNull [] getVariants()