question: private void accesBreakpointInstruction ( ArrayList < Instruction > instructions , int lineNumber , int op , BPINSTRUCTION_STATUS status ) { for ( int i = 0 ; i < instructions . size ( ) ; i ++ ) { Instruction currInst = instructions . get ( i ) ; if ( op == 0 ) { if ( currInst instanceof MRJobInstruction ) { MRJobInstruction currMRInst = ( MRJobInstruction ) currInst ; if ( currMRInst . findMRInstructions ( lineNumber ) ) { BreakPointInstruction breakpoint = new BreakPointInstruction ( ) ; breakpoint . setLocation ( currInst ) ; breakpoint . setInstID ( instID ++ ) ; breakpoint . setBPInstructionLocation ( location ) ; instructions . add ( i , breakpoint ) ; DMLBreakpointManager . insertBreakpoint ( breakpoint , lineNumber ) ; return ; } } else if ( currInst instanceof CPInstruction || currInst instanceof SPInstruction ) { if ( currInst . getLineNum ( ) == lineNumber ) { BreakPointInstruction breakpoint = new BreakPointInstruction ( ) ; breakpoint . setLocation ( currInst ) ; breakpoint . setInstID ( instID ++ ) ; breakpoint . setBPInstructionLocation ( location ) ; instructions . add ( i , breakpoint ) ; DMLBreakpointManager . insertBreakpoint ( breakpoint , lineNumber ) ; return ; } } else if ( currInst instanceof BreakPointInstruction && currInst . getLineNum ( ) == lineNumber ) { BreakPointInstruction breakpoint = ( BreakPointInstruction ) currInst ; breakpoint . setBPInstructionStatus ( BPINSTRUCTION_STATUS . ENABLED ) ; breakpoint . setBPInstructionLocation ( location ) ; instructions . set ( i , breakpoint ) ; DMLBreakpointManager . updateBreakpoint ( lineNumber , status ) ; return ; } } else { if ( currInst instanceof BreakPointInstruction && currInst . getLineNum ( ) == lineNumber ) { if ( op == 1 ) { BreakPointInstruction breakpoint = ( BreakPointInstruction ) currInst ; breakpoint . setLocation ( currInst ) ; breakpoint . setInstID ( currInst . getInstID ( ) ) ; breakpoint . setBPInstructionStatus ( status ) ; breakpoint . setBPInstructionLocation ( location ) ; instructions . set ( i , breakpoint ) ; DMLBreakpointManager . updateBreakpoint ( lineNumber , status ) ; } else { instructions . remove ( i ) ; DMLBreakpointManager . removeBreakpoint ( lineNumber , status ) ; } return ; } } } }
target:  Access breakpoint instruction at specified line number in set of instructions (if valid)