TypeConversionDescriptor wrapDescription =
new TypeConversionDescriptor("$qualifier$", "new " + from.getCanonicalText() + "[]{$qualifier$}", context);
if (((PsiArrayType)to).getComponentType() instanceof PsiClassType && from instanceof PsiPrimitiveType) {
final String boxedTypeName = ((PsiPrimitiveType)from).getBoxedTypeName();
final String normalizedArrayInitializer =
<BUG>PsiUtil.getLanguageLevel(context).hasEnumKeywordAndAutoboxing() ? "$qualifier$" : boxedTypeName + ".valueOf($qualifier$)";
</BUG>
wrapDescription = new TypeConversionDescriptor("$qualifier$", "new " + boxedTypeName + "[]{" + normalizedArrayInitializer + "}", context);
}
final PsiElement parent = context.getParent();

TypeConversionDescriptor wrapDescription =
new TypeConversionDescriptor("$qualifier$", "new " + from.getCanonicalText() + "[]{$qualifier$}", context);
if (((PsiArrayType)to).getComponentType() instanceof PsiClassType && from instanceof PsiPrimitiveType) {
final String boxedTypeName = ((PsiPrimitiveType)from).getBoxedTypeName();
final String normalizedArrayInitializer =
PsiUtil.isLanguageLevel5OrHigher(context) ? "$qualifier$" : boxedTypeName + ".valueOf($qualifier$)";
wrapDescription = new TypeConversionDescriptor("$qualifier$", "new " + boxedTypeName + "[]{" + normalizedArrayInitializer + "}", context);
}
final PsiElement parent = context.getParent();
