private boolean canStepInCaptureTo ( List < StackLine > stackLines ) { // stack bottom line ( = root line) is always regarded as stepIn true line for ( int i = 0 ; i < stackLines . size ( ) - 1 ; i ++ ) { StackLine stackLine = stackLines . get ( i ) ; CaptureStyle style = stackLine . getMethod ( ) . getCaptureStyle ( ) ; if ( style != CaptureStyle . STEP_IN && style != CaptureStyle . STEP_IN_ONLY ) { return false ; } } return true ; }
if method is called from not stepInCapture line then returns false .