List<Variable> (List<? extends RemoteDebugger.Variable> list) { final ArrayList<Variable> variables = new ArrayList<>(list.size()); for (final RemoteDebugger.Variable variable : list) { variables.add(new MyVariable(variable)); } return variables; }