void (@NotNull PsiMethod method) { super.visitMethod(method); if (!method.hasModifierProperty(PsiModifier.SYNCHRONIZED)) { return; } final PsiCodeBlock body = method.getBody(); if (body != null) { checkBody(body); } }