void (@NotNull PsiSynchronizedStatement statement) { startElement(statement); PsiExpression lock = statement.getLockExpression(); if (lock != null) { lock.accept(this); } PsiCodeBlock body = statement.getBody(); if (body != null) { body.accept(this); } finishElement(statement); }