private void mergePossibleResponse ( ) { // TODO only HttpResponse element? if ( ! runtimeStack . isEmpty ( ) && runtimeStack . peek ( ) . getTypes ( ) . contains ( Types . RESPONSE ) ) { mergeReturnElement ( runtimeStack . peek ( ) ) ; } }
Checks if the current stack element is eligible for being merged with the returned element .