void (@NotNull PsiSynchronizedStatement statement) { super.visitSynchronizedStatement(statement); final PsiCodeBlock body = statement.getBody(); if (!ControlFlowUtils.isEmptyCodeBlock(body)) { return; } registerError(statement.getFirstChild()); }