String (String prefix, DebuggerTreeNodeImpl node) { if (node != null) { DebuggerTreeNodeImpl parent = node.getParent(); NodeDescriptorImpl descriptor = parent.getDescriptor(); if (descriptor instanceof ValueDescriptorImpl && ((ValueDescriptorImpl)descriptor).isArray()) { int index = parent.getIndex(node); return createNodeTitle(prefix, parent) + "[" + index + "]"; } String name = (node.getDescriptor() != null) ? node.getDescriptor().getName() : null; return (name != null) ? prefix + " " + name : prefix; } return prefix; }