boolean (PsiExpression @NotNull [] arguments, int requiredArgumentCount, int argumentOffset, @NotNull PsiElement problemElement, @NotNull ProblemsHolder holder) { if (requiredArgumentCount < 0) return false; if (arguments.length != requiredArgumentCount) { holder.registerProblem(problemElement, JavaBundle.message( "inspection.reflection.invocation.argument.count", requiredArgumentCount + argumentOffset)); return false; } return true; }