void putBranchNode ( int lineNumber , int branchNumber , Node block ) { Preconditions . checkArgument ( lineNumber > 0 , "Expected non-zero positive integer as line number: %s" , lineNumber ) ; Preconditions . checkArgument ( branchNumber > 0 , "Expected non-zero positive integer as branch number: %s" , branchNumber ) ; branchNodes . put ( BranchIndexPair . of ( lineNumber - 1 , branchNumber - 1 ) , block ) ; }
Store a node to be instrumented later for branch coverage .