boolean (@Nullable GrArgumentList list1, @Nullable GrArgumentList list2) { if (list1 == null && list2 == null) { return true; } if (list1 == null || list2 == null) { return false; } final GrExpression[] args1 = list1.getExpressionArguments(); final GrExpression[] args2 = list2.getExpressionArguments(); if (!expressionListsAreEquivalent(args1, args2)) { return false; } final GrNamedArgument[] namedArgs1 = list1.getNamedArguments(); final GrNamedArgument[] namedArgs2 = list2.getNamedArguments(); if (!namedArgumentListsAreEquivalent(namedArgs1, namedArgs2)) { return false; } return true; }