public static GenericCallingConvention getGenericCallingConvention(String callingConvention) {
		for (GenericCallingConvention value : GenericCallingConvention.values()) {
			if (value.getDeclarationName().equalsIgnoreCase(callingConvention)) {
				return value;
			}
		}
		for (GenericCallingConvention value : GenericCallingConvention.values()) {
			if (value.name().equalsIgnoreCase(callingConvention)) {
				return value;
			}
		}
		return unknown;
	}
Returns the GenericCallingConvention corresponding to the specified
type string or unknown if name is not defined.
@param callingConvention calling convention declaration name (e.g., "__stdcall").
Enum name is also allowed for backward compatibility.
@return GenericCallingConvention or {@link #unknown} if not found.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/GenericCallingConvention.java