public class TypeMigrationVariableTypeFixProvider extends java.lang.Object implements ChangeVariableTypeQuickFixProvider
EP_NAME
Constructor and Description |
---|
TypeMigrationVariableTypeFixProvider() |
Modifier and Type | Method and Description |
---|---|
static VariableTypeFix |
createTypeMigrationFix(PsiVariable variable,
PsiType toReturn) |
static VariableTypeFix |
createTypeMigrationFix(PsiVariable variable,
PsiType toReturn,
boolean optimizeImports) |
IntentionAction [] |
getFixes(PsiVariable variable,
PsiType toReturn) |
static void |
runTypeMigrationOnVariable(PsiVariable variable,
PsiType targetType,
Editor editor,
boolean optimizeImports,
boolean allowDependentRoots) |
public TypeMigrationVariableTypeFixProvider()
public IntentionAction [] getFixes(PsiVariable variable, PsiType toReturn)
getFixes
in interface ChangeVariableTypeQuickFixProvider
public static VariableTypeFix createTypeMigrationFix(PsiVariable variable, PsiType toReturn)
public static VariableTypeFix createTypeMigrationFix(PsiVariable variable, PsiType toReturn, boolean optimizeImports)
public static void runTypeMigrationOnVariable(PsiVariable variable, PsiType targetType, Editor editor, boolean optimizeImports, boolean allowDependentRoots)