@Nonnull
	public static String removeExtension(@Nonnull String name) {
		int dotIndex = name.lastIndexOf('.');
		if (dotIndex >= 0)
			return name.substring(0, dotIndex);
		return name;
	}
@param name
		Path name.

@return Path name without file extension.
recaf-core/src/main/java/software/coley/recaf/util/StringUtil.java