title: How to refactor constants to enums in Eclipse?
body: <p>How do I refactor Java constants to enums with eclipse?</p>
  
  <p>I found no built-in functionality in eclipse:
  <a href="http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fref-menu-refactor.htm">http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fref-menu-refactor.htm</a></p>
  
  <p>I found a plugin:
  <a href="http://code.google.com/p/constants-to-enum-eclipse-plugin/">http://code.google.com/p/constants-to-enum-eclipse-plugin/</a>. I'm wondering whether the plugin is the way to go or anyone uses a better approach. </p>
  
  <p>I could always create an enum class myself an cut&amp;paste the constants which is tedious in 2012. Please don't point me to another IDE, I'm too old too change bad habits ;-)</p>