private static @Nullable PsiType getWantedType(PsiElement body, String name) {
        return switch (name) {
          case "equals" -> PsiTypes.booleanType().getBoxedType(body);
          case "hashCode" -> PsiTypes.intType().getBoxedType(body);
          case "toString" -> PsiType.getJavaLangString(body.getManager(), body.getResolveScope());
          default -> null;
        };
      }
private static @Nullable PsiType getWantedType(PsiElement body, String name)