public static class WrapObjectWithOptionalOfNullableFix.MyFixerActionFactory extends ArgumentFixerActionFactory
Constructor and Description |
---|
MyFixerActionFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
areTypesConvertible(PsiType exprType,
PsiType parameterType,
PsiElement context) |
MethodArgumentFix |
createFix(PsiExpressionList list,
int i,
PsiType toType) |
protected PsiExpression |
getModifiedArgument(PsiExpression expression,
PsiType toType) |
registerCastActions
protected PsiExpression getModifiedArgument(PsiExpression expression, PsiType toType) throws IncorrectOperationException
getModifiedArgument
in class ArgumentFixerActionFactory
IncorrectOperationException
public boolean areTypesConvertible(PsiType exprType, PsiType parameterType, PsiElement context)
areTypesConvertible
in class ArgumentFixerActionFactory
public MethodArgumentFix createFix(PsiExpressionList list, int i, PsiType toType)
createFix
in class ArgumentFixerActionFactory