title: Any elegant way to parse camel-style string to upper case enum in java?
body: <p>I need to parse enum instance from string. The problem is that I have camel-style input string, e.g. <code>docType</code> and constant-style enum, e.g. <code>DOC_TYPE</code>.</p>
  
  <p>As far as I know, java requires exactly matching on enum parsing, so I'm trying to find an elegant way to solve this problem.</p>