void (@NotNull GrSynchronizedStatement synchronizedStatement) { super.visitSynchronizedStatement(synchronizedStatement); final GrExpression lock = synchronizedStatement.getMonitor(); if (lock == null || !(lock instanceof GrReferenceExpression && PsiUtil.isThisReference(lock))) { return; } registerError(lock); }