public String displayNodeWithInstrumentation(Node node){
  if (node == null) {
    return "null";
  }
  final StringBuilder sb=new StringBuilder();
  sb.append(displayNodeName(node));
  sb.append("(");
  sb.append(displayTags(node));
  if (node.getParent() instanceof WrapperNode) {
    sb.append(",Probed");
  }
  sb.append(") ");
  sb.append(displaySourceInfo(node));
  return sb.toString();
}

public String displayNodeWithInstrumentation ( Node node ) { if ( node == null ) { return "null" ; } final StringBuilder sb = new StringBuilder ( ) ; sb . append ( displayNodeName ( node ) ) ; sb . append ( "(" ) ; sb . append ( displayTags ( node ) ) ; if ( node . getParent ( ) instanceof WrapperNode ) { sb . append ( ",Probed" ) ; } sb . append ( ") " ) ; sb . append ( displaySourceInfo ( node ) ) ; return sb . toString ( ) ; }
creates a textual display describing a single ( non - wrapper ) node , including instrumentation status : if probed , and any tags .
