@NotNull
  @Override
  protected PsiElementPredicate getElementPredicate() {
    return element -> element instanceof GrReferenceExpression ref && "class".equals(ref.getReferenceName()) &&
                  ref.getQualifier() instanceof GrReferenceExpression qualifier && qualifier.resolve() instanceof PsiClass;
  }
@NotNull
  @Override
  protected PsiElementPredicate getElementPredicate()