Representation of a stack frame containing information about the context in which a step was defined. Allows retrospective queries about the definition of a step.
The name of the step definition class, e.g. cucumber.runtime.scala.test.CukesStepDefinitions
The regex matcher that defines the cucumber step, e.g. /I eat (.*) cukes$/
Function body of a step definition. This is what actually runs the code within the step def.
Invokes the step definition.
Invokes the step definition. The method should raise a Throwable if the invocation fails, which will cause the step to fail.
The source line where the step definition is defined.
The source line where the step definition is defined. Example: foo/bar/Zap.brainfuck:42
true if extra detailed location information should be included.
How many declared parameters this stepdefinition has.
How many declared parameters this stepdefinition has. Returns null if unknown.
The parameter type at index n.
The parameter type at index n. A hint about the raw parameter type is passed to make it easier for the implementation to make a guess based on runtime information. As Scala is a statically typed language, the javaType parameter is ignored
the pattern associated with this instance. Used for error reporting only.
Return true if this matches the location.
Return true if this matches the location. This is used to filter stack traces.
Returns a list of arguments.
Returns a list of arguments. Return null if the step definition doesn't match at all. Return an empty List if it matches with 0 arguments and bigger sizes if it matches several.
Implementation of step definition for scala.