public class PsiCachedValueImpl<T> extends PsiCachedValue<T> implements CachedValue<T>
CachedValueBase.Data<T>
Constructor and Description |
---|
PsiCachedValueImpl(PsiManager manager,
CachedValueProvider<T> provider) |
Modifier and Type | Method and Description |
---|---|
protected <P> CachedValueProvider.Result<T> |
doCompute(P param) |
T |
getValue() |
CachedValueProvider<T> |
getValueProvider() |
getTimeStamp, isDependencyOutOfDate, isFromMyProject, isUpToDate, normalizeDependencies
clear, getUpToDateOrNull, getValueWithLock, hasUpToDateValue, setValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUpToDateOrNull, hasUpToDateValue
public PsiCachedValueImpl(PsiManager manager, CachedValueProvider<T> provider)
public T getValue()
getValue
in interface CachedValue<T>
public CachedValueProvider<T> getValueProvider()
getValueProvider
in interface CachedValue<T>
getValueProvider
in class CachedValueBase<T>
protected <P> CachedValueProvider.Result<T> doCompute(P param)
doCompute
in class CachedValueBase<T>