void (@NotNull PsiAssertStatement statement) { final PsiExpression condition = statement.getAssertCondition(); if (SynchronizationUtil.isCallToHoldsLock(condition)) { m_inSynchronizedContextCount++; PsiElement codeBlock = statement.getParent(); if (codeBlock != null) { codeBlock.putUserData(CODE_BLOCK_CONTAINS_HOLDS_LOCK_CALL, true); } } super.visitAssertStatement(statement); }