@Override
  protected boolean isSuitable(final PsiElement element) {
    if (super.isSuitable(element)) {
      if (element instanceof PsiMethod method) {
        PsiClass parent = method.getContainingClass();
        return parent != null && (parent.getQualifiedName() != null || parent instanceof PsiAnonymousClass);
      }
      if (element instanceof PsiField field) {
        PsiClass parent = field.getContainingClass();
        return parent != null && parent.getQualifiedName() != null;
      }
      if (element instanceof PsiClass aClass) {
        return aClass.getQualifiedName() != null;
      }

      return element instanceof PsiLambdaExpression;
    }
    return false;
  }
@Override
  protected boolean isSuitable(final PsiElement element)