Javassist does not support such a transformation
since identifying a conditional expression in bytecode is difficult.
It would be possible in most of cases but the correctness of the
identification depends on how javac compiles source code.
Therefore, 100% correct identification of conditional expressions
would be difficult.
Source-level program translators such as
OpenJava might work for your purpose.