title: How to return the current method that is going to get executed from step definition file
body: <p>I need this so that i can pass the required arguments to the class before executing that method for reporting, logging,etc., so that test cases can be executed in parallel. I am in the process of converting my keyword driven selenium framework to BDD Gherkin selenium framework .In Keyword driven framework, i get the keywords from Excel , pass the required parameters to the class through Java reflection before executing the method </p>
  
  <pre><code>    String [] argv = new String[]{ 
              "-g"
              ,"businesscomponents"
              ,"./Features"
              //,"-t","@P1,@P2"
              ,"-n","Validate_login_search_using_sku_id"
              };
      ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
      byte exitstatus = Main.run(argv, contextClassLoader);
  </code></pre>