public class JavaGenericsUtil
extends java.lang.Object
Constructor and Description |
---|
JavaGenericsUtil() |
Modifier and Type | Method and Description |
---|---|
static PsiType |
getCollectionItemType(PsiExpression expression) |
static PsiType |
getCollectionItemType(PsiType type,
GlobalSearchScope scope) |
static boolean |
isRawToGeneric(PsiType lType,
PsiType rType) |
static boolean |
isReifiableType(PsiType type) |
static boolean |
isUncheckedCast(PsiType castType,
PsiType operandType) |
static boolean |
isUncheckedWarning(PsiJavaCodeReferenceElement expression,
JavaResolveResult resolveResult,
LanguageLevel languageLevel) |
public static boolean isReifiableType(PsiType type)
public static boolean isUncheckedWarning(PsiJavaCodeReferenceElement expression, JavaResolveResult resolveResult, LanguageLevel languageLevel)
public static PsiType getCollectionItemType(PsiExpression expression)
public static PsiType getCollectionItemType(PsiType type, GlobalSearchScope scope)