public void deletePackage(@Nonnull Workspace workspace,
	                          @Nonnull WorkspaceResource resource,
	                          @Nonnull ClassBundle<?> bundle,
	                          @Nonnull String packageName) {
		// TODO: Ask user if they are sure
		//  - Use config to check if "are you sure" prompts should be bypassed
		boolean isRootDirectory = packageName.isEmpty();
		String packageNamePrefix = packageName + "/";
		for (ClassInfo value : bundle.valuesAsCopy()) {
			String path = value.getName();
			if (isRootDirectory) {
				// Source is in the default package, and the current class is also in the default package.
				if (path.indexOf('/') == -1) {
					bundle.remove(path);
				}
			} else {
				// Source is in a package, and the current class is in the same package.
				if (path.startsWith(packageNamePrefix)) {
					bundle.remove(path);
				}
			}
		}
	}
Prompts the user <i>(if configured, otherwise prompt is skipped)</i> to delete the package.

@param workspace
		Containing workspace.
@param resource
		Containing resource.
@param bundle
		Containing bundle.
@param packageName
		Name of package to delete.
recaf-ui/src/main/java/software/coley/recaf/services/navigation/Actions.java