public static int getLocalVariableEndRange ( LocalVariableTable lvt , int reg , int curPC ) { int endRange = Integer . MAX_VALUE ; if ( lvt != null ) { LocalVariable lv = lvt . getLocalVariable ( reg , curPC ) ; if ( lv != null ) { endRange = lv . getStartPC ( ) + lv . getLength ( ) ; } } return endRange ; }
returns the end pc of the visible range of this register at this pc