void (@NotNull UCallExpression callExpression, @NotNull ProblemsHolder holder) { if (!MATCHER.uCallMatches(callExpression)) return; if (NonNlsUastUtil.isCallExpressionWithNonNlsReceiver(callExpression)) return; PsiElement methodIdentifierPsi = AnalysisUastUtil.getMethodIdentifierSourcePsi(callExpression); if (methodIdentifierPsi == null) return; @NlsSafe String methodName = callExpression.getMethodName(); if (methodName == null) return; // shouldn't happen holder.registerProblem(methodIdentifierPsi, getErrorDescription(methodName)); }