Object [] children = null; try { children = original.getChildren(parent, from, to); } catch (Exception x) {
public Object[] getChildren(TreeModel original, Object parent, int from, int to) throws UnknownTypeException { CndUtils.assertNonUiThread(); breakpointBag(); // cause restoration of bpts // Factoring of original.getChildren() somehow messes up // isLeaf(), so don't. if (parent == TreeModel.ROOT) { // OLD Object originalChildren[] = original.getChildren(parent, from, to); Object[] oChildren = original.getChildren(parent, 0, original.getChildrenCount(parent)); return simplifyHierarchy(null, oChildren); } else { if (parent instanceof NativeBreakpoint) { NativeBreakpoint nb = (NativeBreakpoint) parent; return simplifyHierarchy(nb, nb.getChildren()); } else { Object originalChildren[] = original.getChildren(parent, from, to); return originalChildren; } } }
Object[] oChildren = original.getChildren(parent, 0, original.getChildrenCount(parent));
@Override public Object[] getChildren(TreeModel original, Object parent, int from, int to) throws UnknownTypeException { if (parent == TreeModel.ROOT) { ObjectVariable tooltipVar = ToolTipView.getVariable(); if (tooltipVar != null) { return new Object[] { tooltipVar }; } else { return new Object[] { }; } } else { return original.getChildren(parent, from, to); } }
Object[] children = original.getChildren (node, 0, countVisible);
@Override public Object[] getChildren(TreeModel original, Object parent, int from, int to) throws UnknownTypeException { Object[] children = original.getChildren(parent, from, to); if (parent instanceof DebuggingView.DVThread) { Object[] jsChildren = DebuggingJSTreeModel.createChildrenWithJSStack(children); if (jsChildren != null) { threadsWithJSStacks.add((DebuggingView.DVThread) parent); if (displayJSStacks) { children = DebuggingJSTreeModel.filterChildren(jsChildren); } } } return children; }
Object[] children = original.getChildren(parent, 0, parentChildrenCount); parentChildrenCount = children.length; if (parentChildrenCount == 1 && children[0] instanceof java.lang.String) visibleChildren = original.getChildren(((AttributeMap.Attribute)parent).getValue(), from, to); else visibleChildren = original.getChildren(parent, from, to);
@Override public Object[] getChildren(TreeModel original, Object parent, int from, int to) throws UnknownTypeException { Object[] children = original.getChildren(parent, from, to); if (parent instanceof JPDAThread) { Object[] jsChildren = DebuggingJSTreeModel.createChildrenWithJSStack(children); if (jsChildren != null) { threadsWithJSStacks.add((JPDAThread) parent); if (displayJSStacks) { children = DebuggingJSTreeModel.filterChildren(jsChildren); } } } return children; }
@Override public Object[] getChildren(TreeModel original, Object parent, int from, int to) throws UnknownTypeException { Object[] children = original.getChildren(parent, from, to); if (parent instanceof JPDAThread) { Object[] jsChildren = createChildrenWithJSStack(children); if (jsChildren != null) { children = filterChildren(jsChildren); } } return children; }
@Override public Object[] getChildren(TreeModel original, Object parent, int from, int to) throws UnknownTypeException { Object[] children = original.getChildren(parent, from, to); if (parent instanceof DebuggingView.DVThread) { Object[] jsChildren = createChildrenWithJSStack(children); if (jsChildren != null) { children = filterChildren(jsChildren); } } return children; }
return ((JSVariable) parent).getChildren(); Object[] children = original.getChildren(parent, from, to); List<Object> newChildren = new ArrayList<>(); List<JSVariable> scopeVars = null;
public Object[] getChildren(TreeModel original, Object parent, int from, int to) throws UnknownTypeException { if (parent == original.getRoot()) { Watch [] allWatches = DebuggerManager.getDebuggerManager().getWatches(); Object [] result = original.getChildren(parent, from, to); return original.getChildren(parent, from, to);
ObjectVariable valueObject = jsVar.getValueObject(); if (valueObject != null) { return original.getChildren(valueObject, from, to); return ((ScopeVariable) parent).getScopeVars(); Object[] children = original.getChildren(parent, from, to); List<Object> newChildren = new ArrayList<>(); List<ScopeVariable> scopeVars = null;