title: How to get entire step name from @when and @Then annotations in Cucumber-JVM for custom test reports?
body: <p>I need to create custom reports (Excel) in below format<br>
  Feature | Scenario | Step Name | Status | Test Data<br>
  Calculator | Add | When i add 2 and 4 | Passed | 2, 4<br>
  Calculator | Add | then 6 should be displayed | Passed | 6</p>
  
  <p>In order to achieve this, i need fully qualified "Step Name" extracted from glued java step definitions @When and @Then. How to do that?</p>
  
  <pre><code>MyTest.feature
  
  Feature: Calculator
  Scenario: Add
  
  Given that Calculator is ON  
  When i add 2 and 4  
  Then 6 should be displayed  
  
  @When("^i add (\\d+)(.*) and (\\d+) (.*)$")  
  public void calc_add(int a, int b){  
  //code here  
  //Need the entire string as i passed in .feature file
  TestReport.log(stepName, assert(true));
  }
  
  @Then("^(\\d+) (.*) should be displayed$")  
  public void calc_add(int c){  
  //code here  
  //Need the entire string as i passed in .feature file  
  TestReport.log(stepName, assert(true));
  }  
  </code></pre>