public class JavaResolveCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
JavaResolveCache.ConstValueComputer |
Constructor and Description |
---|
JavaResolveCache(Project project) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
computeConstantValueWithCaching(PsiVariable variable,
JavaResolveCache.ConstValueComputer computer,
java.util.Set<PsiVariable> visitedVars) |
static JavaResolveCache |
getInstance(Project project) |
<T extends PsiExpression> |
getType(T expr,
Function<? super T,? extends PsiType> f) |
public JavaResolveCache(Project project)
public static JavaResolveCache getInstance(Project project)
public <T extends PsiExpression> PsiType getType(T expr, Function<? super T,? extends PsiType> f)
public java.lang.Object computeConstantValueWithCaching(PsiVariable variable, JavaResolveCache.ConstValueComputer computer, java.util.Set<PsiVariable> visitedVars)