@Override
  public @Nullable PsiClass getContainingClass() {
    PsiElement parent = getParent();
    return parent instanceof PsiRecordHeader ? ((PsiRecordHeader)parent).getContainingClass() : null;
  }
@Override
  public @Nullable PsiClass getContainingClass()