PsiAssertStatement (PsiElement context) { return CachedValuesManager.getCachedValue(context, () -> { HoldsLockAssertionVisitor visitor = new HoldsLockAssertionVisitor(); context.accept(visitor); return CachedValueProvider.Result.create(visitor.getAssertStatement(), PsiModificationTracker.MODIFICATION_COUNT); }); }