title: List in velocity macro, cannot find contains method
body: <p>I put a list strings as <code>validTypes</code> in velocity. When I do :</p>
  
  <pre><code>#if (${validTypes}.contains("aaa"))
    // do something
  #end
  </code></pre>
  
  <p>it throws an error. But when I do :</p>
  
  <pre><code>#foreach (${validType} in ${validTypes})
     ${validType}
  #end
  </code></pre>
  
  <p>it works fine. Do I need to use velocity tools for this? How do I use it in an eclipse plugin?
  Are there any work around without using velocity tools?</p>