ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull PsiElement context) { final ConversionResult result = areTypesConvertible(targetType, actualType, context, Position.EXPLICIT_CAST); if (result != null) return result; return TypeConversionUtil.areTypesConvertible(actualType, targetType) ? ConversionResult.OK : ConversionResult.ERROR; }