String () { try { String filePath = myRealStep.getStepLocation().substring(0, myRealStep.getStepLocation().indexOf(':')); String line = CucumberJvmSMFormatterUtil.getStepKeyword(filePath, myRealStep.getStepLine()); if (line != null) { return line; } } catch (Throwable ignored) { } return "Given"; }