There are various convenience constants, methods, etc. with which one can optimize and/or simplify code.
This inspection groups them together and provides quick fixes when possible to replace code snippets to their more optimal form.
EMPTY_ARRAY constants
//From:
PsiElement[] array = new PsiElement[0];
//To:
PsiElement[] array = PsiElement.EMPTY_ARRAY; //it is any type that has this EMPTY_ARRAY constant defined
PsiExpressionList.getExpressions().length comparison
//From (the operands are recognized if they are switched too):
psiMethodCallExpression.getArgumentList().getExpressions().length == 0;
psiMethodCallExpression.getArgumentList().getExpressions().length > 0;
//To:
psiMethodCallExpression.getArgumentList().isEmpty();
!psiMethodCallExpression.getArgumentList().isEmpty();