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