SourcePosition (final StackFrameContext context) { if (context instanceof DebuggerContextImpl) return ((DebuggerContextImpl)context).getSourcePosition(); return ContextUtil.getSourcePosition(context); }