private @Nullable PsiClass createClassInPackage(@NotNull CreateClassKind kind,
                                                  @NotNull PsiDirectory rootDir,
                                                  @NotNull String name,
                                                  @NotNull PsiElement contextElement) {
    PsiDirectory psiPackageDir = CreateServiceClassFixBase.getOrCreatePackageDirInRoot(myPackageName, rootDir);
    if (psiPackageDir != null) {
      return CreateFromUsageUtils.createClass(kind, psiPackageDir, name, contextElement.getManager(), contextElement, null, null);
    }
    return null;
  }
private @Nullable PsiClass createClassInPackage(@NotNull CreateClassKind kind,
                                                  @NotNull PsiDirectory rootDir,
                                                  @NotNull String name,
                                                  @NotNull PsiElement contextElement)