title: Why when I use java.util.Random in SpEL there is a SpelEvaluationException?
body: <p><strong>beans.xml</strong></p>
  
  <pre><code>&lt;bean id="duke" class="Juggler"&gt;
      &lt;constructor-arg value="#{T(java.util.Random).nextInt(10)}"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>Exceptions:</p>
  
  <blockquote>
    <p>Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1004E:(pos 20): Method call: Method nextInt(java.lang.Integer) cannot be found on java.util.Random type</p>
  </blockquote>