public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static PsiType |
banalize(PsiType t)
convert external raw types to types explicitly parameterized by Bottom
|
static boolean |
bindsTypeParameters(PsiType t,
java.util.Set<PsiTypeParameter> params) |
static boolean |
bindsTypeVariables(PsiType t) |
static void |
changeType(PsiElement element,
PsiType type) |
static PsiSubstitutor |
composeSubstitutors(PsiSubstitutor f,
PsiSubstitutor g) |
static PsiType |
createArrayType(PsiType theType,
int level) |
static PsiType |
createParameterizedType(PsiType t,
PsiTypeVariableFactory factory) |
static PsiType |
createParameterizedType(PsiType t,
PsiTypeVariableFactory factory,
PsiElement context) |
static PsiType |
getType(PsiElement element) |
static boolean |
isRaw(PsiType t,
Settings settings) |
static PsiType |
normalize(PsiType t,
boolean objectBottom) |
static PsiClassType.ClassResolveResult |
resolveType(PsiType type) |
public static PsiClassType.ClassResolveResult resolveType(PsiType type)
public static PsiType banalize(PsiType t)
public static PsiSubstitutor composeSubstitutors(PsiSubstitutor f, PsiSubstitutor g)
public static boolean bindsTypeParameters(PsiType t, java.util.Set<PsiTypeParameter> params)
public static PsiType getType(PsiElement element)
public static PsiType createParameterizedType(PsiType t, PsiTypeVariableFactory factory, PsiElement context)
public static PsiType createParameterizedType(PsiType t, PsiTypeVariableFactory factory)
public static boolean bindsTypeVariables(PsiType t)
public static void changeType(PsiElement element, PsiType type)