public void removeSnippet(@Nonnull String name) {
		Snippet removed = config.getSnippets().remove(name);
		if (removed != null)
			Unchecked.checkedForEach(listeners, listener -> listener.onSnippetRemoved(removed),
					(listener, t) -> logger.error("Exception thrown when removing snippet '{}'", name, t));
	}
Remove a given snippet by name.

@param name
		Snippet name / identifier.
recaf-core/src/main/java/software/coley/recaf/services/assembler/SnippetManager.java