public static String displayWithTypes ( Object object ) { StringBuilder builder = new StringBuilder ( ) ; displayRecursive ( object , builder , new Stack <> ( ) , true ) ; return builder . toString ( ) ; }
Displays the given object including type information .