public class AtomicConversionRule extends TypeConversionRule
EP_NAME
Constructor and Description |
---|
AtomicConversionRule() |
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,
com.intellij.refactoring.typeMigration.rules.AtomicConversionType type) |
boolean |
shouldConvertNullInitializer(PsiType from,
PsiType to,
PsiExpression context) |
static TypeConversionDescriptor |
wrapWithNewExpression(PsiType to,
PsiType from,
PsiExpression expression,
PsiElement context,
com.intellij.refactoring.typeMigration.rules.AtomicConversionType type) |
bindTypeParameters
public TypeConversionDescriptorBase findConversion(PsiType from, PsiType to, PsiMember member, PsiExpression context, TypeMigrationLabeler labeler)
findConversion
in class TypeConversionRule
public boolean shouldConvertNullInitializer(PsiType from, PsiType to, PsiExpression context)
shouldConvertNullInitializer
in class TypeConversionRule
public static TypeConversionDescriptor findDirectConversion(PsiElement context, PsiType to, PsiType from, com.intellij.refactoring.typeMigration.rules.AtomicConversionType type)
public static TypeConversionDescriptor wrapWithNewExpression(PsiType to, PsiType from, PsiExpression expression, PsiElement context, com.intellij.refactoring.typeMigration.rules.AtomicConversionType type)