public static void validateName(String name) throws InvalidInputException {

		if (name == null) {
			throw new InvalidInputException("Symbol name can't be null");
		}
		if (name.length() == 0) {
			throw new InvalidInputException("Symbol name can't be empty string");
		}
		if (name.length() > MAX_SYMBOL_NAME_LENGTH) {
			throw new InvalidInputException("Symbol name exceeds maximum length of " +
				MAX_SYMBOL_NAME_LENGTH + ", length=" + name.length());
		}
		if (containsInvalidChars(name)) {
			throw new InvalidInputException("Symbol name contains invalid characters: " + name);
		}
	}
Validate the given symbol name: cannot be null, cannot be an empty string, cannot contain blank
characters, cannot be a reserved name.
@param name symbol name to be validated
@throws InvalidInputException invalid or reserved name has been specified
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/SymbolUtilities.java