question: private static int calculateNested ( @ NonNull String text ) { int nested = 0 ; while ( true ) { if ( ( nested + 1 ) * KEY_BLOCK_QUOTES . length ( ) > text . length ( ) ) { break ; } String sub = text . substring ( nested * KEY_BLOCK_QUOTES . length ( ) , ( nested + 1 ) * KEY_BLOCK_QUOTES . length ( ) ) ; if ( ! KEY_BLOCK_QUOTES . equals ( sub ) ) { break ; } ++ nested ; } return nested ; }
target:  calculate nested, one "> ", nest++