Code example for CaseFormat

Methods: to

0
    return OptionType.parse(v);
  } 
 
  @Override 
  public String marshal(OptionType v) throws Exception {
    return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, v.name());
  } 
} 
Contextual code suggestions in your IDE  Get Codota for Java