boolean (@Nullable PsiType targetType, @Nullable PsiType actualType, @NotNull PsiElement context) { if (targetType == null || actualType == null) return false; return canAssign(targetType, actualType, context, Position.METHOD_PARAMETER) == ConversionResult.OK; }