@Override public void computeChildren(@NotNull final XCompositeNode node) { final XValueChildrenList childrenList = new XValueChildrenList(myFields.size()); for (DartVMValue field : myFields) { childrenList.add(field.getName(), field); } node.addChildren(childrenList, true); }
public static void createAndAddScopeList( @NotNull XCompositeNode node, @NotNull List<Scope> scopes, @NotNull VariableContext context, @Nullable CallFrame callFrame) { XValueChildrenList list = new XValueChildrenList(scopes.size()); for (Scope scope : scopes) { list.addTopGroup(new ScopeVariablesGroup(scope, context, callFrame)); } node.addChildren(list, true); }