PsiExpressionList: added getExpressionCount() and isEmpty()

Optimized implementations in PsiExpressionListImpl, usages replaced where possible
This commit is contained in:
Tagir Valeev
2018-01-26 11:14:27 +07:00
parent 2c40a8a181
commit 88bc353da4
79 changed files with 150 additions and 123 deletions

View File

@@ -265,7 +265,7 @@ public class RefJavaUtilImpl extends RefJavaUtil{
}
PsiExpressionList argumentList = call.getArgumentList();
if (argumentList.getExpressions().length > 0) {
if (!argumentList.isEmpty()) {
refMethod.updateParameterValues(argumentList.getExpressions());
}