title: Change private static final field using Java reflection
body: <p>I have a class with a <code>private static final</code> field that, unfortunately, I need to change it at run-time.</p>
  
  <p>Using reflection I get this error: <code>java.lang.IllegalAccessException: Can not set static final boolean field</code></p>
  
  <p>Is there any way to change the value?</p>
  
  <pre><code>Field hack = WarpTransform2D.class.getDeclaredField("USE_HACK");
  hack.setAccessible(true);
  hack.set(null, true);
  </code></pre>