void ( @NotNull PsiMethodCallExpression expression) { final PsiMethod method = expression.resolveMethod(); if (method == null || !method.hasModifierProperty(PsiModifier.NATIVE)) return; final PsiClass containingClass = method.getContainingClass(); if (containingClass == null) return; if (EXCLUDED_CLASS_NAMES.contains(containingClass.getQualifiedName())) return; if (!SynchronizationUtil.isInSynchronizedContext(expression)) return; registerMethodCallError(expression); }