question: protected void sprint ( String a ) { if ( a == null ) { stringRepresentation += getIndentation ( ) ; stringRepresentation += "<null>\n" ; return ; } if ( a . compareTo ( "}" ) == 0 || a . compareTo ( "]" ) == 0 ) { indentation -- ; } stringRepresentation += getIndentation ( ) ; stringRepresentation += a ; stringRepresentation += "\n" ; if ( a . compareTo ( "{" ) == 0 || a . compareTo ( "[" ) == 0 ) { indentation ++ ; } }
target:  Add a new string to the accumulated string representation.