public static StringBuilder print ( StringBuilder sb , Object bean , int level ) throws IntrospectionException { return print ( sb , Collections . newSetFromMap ( new IdentityHashMap < Object , Boolean > ( ) ) , bean , level ) ; }
Prints a bean to the StringBuilder .