void (PsiParameterList intellij, PsiParameterList theirs) { assertEquals(theirs.getParametersCount(), intellij.getParametersCount()); PsiParameter[] intellijParameters = intellij.getParameters(); PsiParameter[] theirsParameters = theirs.getParameters(); for (int i = 0; i < intellijParameters.length; i++) { PsiParameter intellijParameter = intellijParameters[i]; PsiParameter theirsParameter = theirsParameters[i]; compareType(intellijParameter.getType(), theirsParameter.getType(), theirsParameter); compareAnnotations(intellijParameter.getModifierList(), theirsParameter.getModifierList()); } }