cucumber/cucumber-jvm — pull request #757 by bySabi (2014-08-04 15:41:10+00:00)
Title: fix NPE on MethodFormat.getCodeSource suggest by @brasmusson

This fix same issue of PR: https://github.com/cucumber/cucumber-jvm/pull/751

@brasmusson suggest this approach and here is code.