title: How to get name of method parameter/argument in groovy?
body: <p>I have groovy script that has a function with 2 arguments, one of which is a hashmap. I want to check the name of a hashmap variable contains a substring or not, inside a function. How do i do it?</p>
  
  <pre><code>def myfunc(String var, HashMap var2)
  {
      // need a routine to retrive the name of the variable var2
  } 
  </code></pre>