public static Type forNumber(int value) {
        switch (value) {
          case 1: return CONTROLLER_MESSAGE;
          case 2: return BUILDER_MESSAGE;
          case 3: return FAILURE;
          default: return null;
        }
      }
public static Type forNumber(int value)