private void updateEndPCsOnCatchRegScope ( List < CatchInfo > infos , int pc , int seen ) { if ( lvt != null ) { for ( CatchInfo ci : infos ) { if ( ( ci . getStart ( ) == pc ) && OpcodeUtils . isAStore ( seen ) ) { int exReg = RegisterUtils . getAStoreReg ( this , seen ) ; LocalVariable lv = lvt . getLocalVariable ( exReg , pc + 1 ) ; if ( lv != null ) { ci . setFinish ( lv . getStartPC ( ) + lv . getLength ( ) ) ; } break ; } } } }
reduces the end pc based on the optional LocalVariableTable s exception register scope