MethodInvocation
public interface IMethodInvocation
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object[] |
getArguments() |
Returns the arguments for this method invocation.
|
FeatureInfo |
getFeature() |
Returns the feature which this method invocation belongs to (if any).
|
java.lang.Object |
getInstance() |
Returns the Specification instance for the current iteration.
|
IterationInfo |
getIteration() |
Return the iteration which this method invocation belongs to (if any).
|
MethodInfo |
getMethod() |
Returns the method invoked by this method invocation.
|
java.lang.Object |
getSharedInstance() |
Returns the Specification instance for @Shared fields.
|
SpecInfo |
getSpec() |
Returns the specification which this method invocation belongs to.
|
java.lang.Object |
getTarget() |
Returns the target (receiver) of this method invocation.
|
void |
proceed() |
Proceeds with the method call.
|
SpecInfo getSpec()
FeatureInfo getFeature()
IterationInfo getIteration()
java.lang.Object getSharedInstance()
java.lang.Object getInstance()
java.lang.Object getTarget()
MethodInfo getMethod()
java.lang.Object[] getArguments()
void proceed() throws java.lang.Throwable
java.lang.Throwable
- any exception thrown by the method callCopyright © 2018. All rights reserved