title: Get rid of "The value for annotation attribute must be a constant expression" message
body: <p>I use annotation in my code, and I try to use value which determine in run time.</p>
  
  <p>I define my list as <code>static final</code> (lst), and I add to this list some elements.</p>
  
  <p>When I use <code>lst.get(i)</code>, I get compilation error: </p>
  
  <pre><code>The value for annotation attribute must be a constant expression
  </code></pre>
  
  <p>What is the solution for this issue?</p>