SpoonInteractionAdapter(SymbolicEvaluationStep symbolicEvaluationStep) throws ModelException {
this.symbolicEvaluationStep = symbolicEvaluationStep;
if (symbolicEvaluationStep == null) {
throw new ModelException("null symbolic evaluation step");
} else {
SymbolicStackFrame frame = symbolicEvaluationStep.getFrame();
if (frame != null) {
caller = setupInstance(frame.getCaller());
target = setupInstance(frame.getThis());