boolean (PsiReferenceList patternElements, PsiReferenceList matchElements) { if (patternElements == null) return myMatchingVisitor.isLeftLooseMatching() || matchElements == null; return myMatchingVisitor.matchInAnyOrder( patternElements.getReferenceElements(), (matchElements != null) ? matchElements.getReferenceElements() : PsiElement.EMPTY_ARRAY ); }