public Node popNode ( Class < ? extends Node > cls , String uri ) { synchronized ( nodeStack ) { // Check if fragment is in suppression mode if ( suppress ) { if ( ! suppressedNodeStack . isEmpty ( ) ) { // Check if node is on the suppressed stack Node suppressed = popNode ( suppressedNodeStack , cls , uri ) ; if ( suppressed != null ) { // Popped node from suppressed stack return suppressed ; } } else { // If suppression parent popped, then cancel the suppress mode suppress = false ; } } return popNode ( nodeStack , cls , uri ) ; } }
This method pops the latest node from the trace fragment hierarchy .