public static CommentType valueOf(int commentType) throws IllegalArgumentException {
		try {
			return CommentType.values()[commentType];
		}
		catch (ArrayIndexOutOfBoundsException e) {
			throw new IllegalArgumentException("Invalid comment type: " + commentType, e);
		}
	}
Get the comment type which corresponds to the specified ordinal value.
<P>
NOTE: This method is intended for conversion of old legacy commentType integer
values to the enum type.

@param commentType comment type value
@return comment type enum which corresponds to specified ordinal
@throws IllegalArgumentException if invalid comment type ordinal specified
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/CommentType.java