CachedValue<T> (final PsiFile xmlFile, final Object o) { return CachedValuesManager.getManager(xmlFile.getProject()).createCachedValue( () -> new CachedValueProvider.Result<>(doCompute(xmlFile), getDependencies(xmlFile)), false); }