public void print ( IncidentStream is , int maxDepth ) { StringBuffer fullName = new StringBuffer ( ) ; for ( int i = 0 ; i < _level ; i ++ ) fullName . append ( " " ) ; fullName . append ( _name ) ; is . writeLine ( fullName . toString ( ) , _description ) ; if ( _level < maxDepth ) { List < IntrospectionLevelMember > children = getChildren ( ) ; for ( IntrospectionLevelMember ilm : children ) { ilm . print ( is , maxDepth ) ; } } }
Print this IntrospectionLevelMember to an incident stream