List<StackFrameItem> (@Nullable ObjectReference key, @Nullable DebugProcessImpl process) { if (process != null && key != null) { Map<Object, List<StackFrameItem>> data = process.getUserData(CAPTURED_STACKS); if (data != null) { return data.get(getKey(key)); } } return null; }