@Nonnull
	public static String limit(@Nonnull String text, int max) {
		return limit(text, null, max);
	}
@param text
		Input text.
@param max
		Max length of text.

@return Text cut off to max length.
recaf-core/src/main/java/software/coley/recaf/util/StringUtil.java