@NotNull
  public static List<Value> getCollectionModificationsHistory(SuspendContextImpl context, Value collectionInstance) {
    DebuggerManagerThreadImpl.assertIsManagerThread();
    VirtualMachineProxyImpl virtualMachineProxy = getVirtualMachine(context);
    if (virtualMachineProxy == null) {
      return Collections.emptyList();
    }

    Value collectionModifications = invokeStorageMethod(context.getDebugProcess(), context,
                                                        GET_COLLECTION_MODIFICATIONS_METHOD_NAME,
                                                        GET_COLLECTION_MODIFICATIONS_METHOD_DESC,
                                                        Collections.singletonList(collectionInstance));

    if (collectionModifications instanceof ArrayReference) {
      return ((ArrayReference)collectionModifications).getValues();
    }

    return Collections.emptyList();
  }
@NotNull
  public static List<Value> getCollectionModificationsHistory(SuspendContextImpl context, Value collectionInstance)