It is taken from an enum list, which is hand made. There must be a way to generate it programatically at compile time…