void (@NotNull PsiAssertStatement statement) { if (myAssertStatement != null) return; super.visitAssertStatement(statement); final PsiExpression condition = statement.getAssertCondition(); if (isCallToHoldsLock(condition)) { myAssertStatement = statement; stopWalking(); } }