DataType javax.print.DocFlavor obfuscated into Object

Hi Jack,

DocFlavor is obfuscated into Object in a variable of a method:
DocFlavor docFlavor = supportsPdf ? BYTE_ARRAY.PDF : SERVICE_FORMATTED.PAGEABLE; obfuscated to:
Object var8 = var7 ? BYTE_ARRAY.PDF : SERVICE_FORMATTED.PAGEABLE;

In the following usage, var8 not able to assign to DocFlavor.

I’m trying to preserve the method by using a rule:
keepclassmembers ‘class com.cepheid.gxcore.util.OutputFileUtil {
*;
}’
It didn’t help - the method content still gets obfuscated. Also I tried adding:
javax.print.DocFlavor docFlavor inside the above rule. DocFlavor still obfuscated to Object.

Can you help to either get DocFlavor not obfuscated or get the entire method content not obfuscated?

Thanks,
Jingkun

Ignore this post as the same already published in a diff channel.