question: public boolean matchesExactly ( Collection < Issue > issues , List < String > messages ) { Collection < Issue > issueCopy = new LinkedList < > ( issues ) ; Collection < IssueMatcher > matcherCopy = new LinkedList < > ( issueMatchers ) ; performMatching ( issueCopy , matcherCopy , messages ) ; if ( inverted ) { if ( issueCopy . isEmpty ( ) && matcherCopy . isEmpty ( ) ) { if ( issueMatchers . isEmpty ( ) && messages != null ) { messages . add ( "Expected issues, but got nothing" ) ; } else { explainIssues ( issues , messages , inverted ) ; explainExpectations ( issueMatchers , messages , inverted ) ; } return false ; } } else { if ( ! issueCopy . isEmpty ( ) || ! matcherCopy . isEmpty ( ) ) { explainIssues ( issueCopy , messages , inverted ) ; explainExpectations ( matcherCopy , messages , inverted ) ; return false ; } } return true ; }
target:  Matches the expectations in the added issues matchers against the given issues.