public class ThreadLocalConversionRule extends TypeConversionRule
EP_NAME
Constructor and Description |
---|
ThreadLocalConversionRule() |
Modifier and Type | Method and Description |
---|---|
TypeConversionDescriptorBase |
findConversion(PsiType from,
PsiType to,
PsiMember member,
PsiExpression context,
TypeMigrationLabeler labeler) |
static TypeConversionDescriptor |
findDirectConversion(PsiElement context,
PsiType to,
PsiType from,
TypeMigrationLabeler labeler) |
static TypeConversionDescriptor |
wrapWithNewExpression(PsiType to,
PsiType from,
PsiExpression initializer) |
bindTypeParameters, shouldConvertNullInitializer
public TypeConversionDescriptorBase findConversion(PsiType from, PsiType to, PsiMember member, PsiExpression context, TypeMigrationLabeler labeler)
findConversion
in class TypeConversionRule
public static TypeConversionDescriptor findDirectConversion(PsiElement context, PsiType to, PsiType from, TypeMigrationLabeler labeler)
public static TypeConversionDescriptor wrapWithNewExpression(PsiType to, PsiType from, PsiExpression initializer)