public class ThreadLocalTypes
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
forceType(PsiElement psi,
PsiType type) |
static PsiType |
getElementType(PsiElement psi) |
static boolean |
hasBindingFor(PsiElement psi) |
static <T> T |
performWithTypes(java.util.function.Function<ThreadLocalTypes,T> action) |
static <T> T |
performWithTypes(java.util.function.Function<ThreadLocalTypes,T> action,
boolean prohibitCaching) |
public static PsiType getElementType(PsiElement psi)
public static boolean hasBindingFor(PsiElement psi)
public static <T> T performWithTypes(java.util.function.Function<ThreadLocalTypes,T> action)
public static <T> T performWithTypes(java.util.function.Function<ThreadLocalTypes,T> action, boolean prohibitCaching)
public void forceType(PsiElement psi, PsiType type)