code: public static IOCase forName(String name) {
          if (IOCase.SENSITIVE.name.equals(name)){
              return IOCase.SENSITIVE;
          }
          if (IOCase.INSENSITIVE.name.equals(name)){
              return IOCase.INSENSITIVE;
          }
          if (IOCase.SYSTEM.name.equals(name)){
              return IOCase.SYSTEM;
          }
          throw new IllegalArgumentException("Invalid IOCase name: " + name);
      }
docs: Factory method to create an IOCase from a name.
  
  @param name  the name to find
  @return the IOCase object
  @throws IllegalArgumentException if the name is invalid