title: are there limits for spring SpEL?
body: <p>I need to know are there limits for spring SpEL in terms of syntax and capabilities. For example I need to run this expression:</p>
  
  <pre><code>Integer cnt=0;
  if(obj.val1&lt;10){return 1;}
  else{
  cnt=cnt+1;
  }
  </code></pre>
  
  <p>and so on. Is there a way to run a simple sub-program like one expression?</p>