Пример #1
0
 @Override
 public String debugDump(int indent) {
   StringBuilder sb = new StringBuilder();
   DebugUtil.indentDebugDump(sb, indent);
   sb.append("ContainerWrapper: ").append(PrettyPrinter.prettyPrint(getName())).append("\n");
   DebugUtil.debugDumpWithLabel(sb, "displayName", displayName, indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb, "status", status == null ? null : status.toString(), indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(sb, "main", main, indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(sb, "readonly", readonly, indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb, "showInheritedObjectAttributes", showInheritedObjectAttributes, indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(sb, "path", path == null ? null : path.toString(), indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb,
       "containerDefinition",
       containerDefinition == null ? null : containerDefinition.toString(),
       indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb, "container", container == null ? null : container.toString(), indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpLabel(sb, "properties", indent + 1);
   sb.append("\n");
   DebugUtil.debugDump(sb, properties, indent + 2, false);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(sb, "result", result, indent + 1);
   return sb.toString();
 }
Пример #2
0
 @Override
 public String debugDump(int indent) {
   StringBuilder sb = new StringBuilder();
   DebugUtil.indentDebugDump(sb, indent);
   sb.append("ObjectWrapper(\n");
   DebugUtil.debugDumpWithLabel(sb, "displayName", displayName, indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(sb, "description", description, indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb, "object", object == null ? null : object.toString(), indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb, "objectOld", objectOld == null ? null : objectOld.toString(), indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(sb, "oldDelta", oldDelta, indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb, "status", status == null ? null : status.toString(), indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(
       sb, "headerStatus", headerStatus == null ? null : headerStatus.toString(), indent + 1);
   sb.append("\n");
   DebugUtil.debugDumpWithLabel(sb, "containers", containers, indent + 1);
   sb.append("\n");
   DebugUtil.indentDebugDump(sb, indent);
   sb.append(")");
   return sb.toString();
 }