Does javassist let modify an operator in a conditional expression?
问题 I need to know if with the following code and with javassist I can manipulate the code to replace the logical operator ">" with "<". Here is the class whose bytecode I want to manipulate: public class TryClass { public void foo(){ int a =0; if(a>5){ System.out.println("I love apples"); } else{ System.out.println("I hate apples"); } } } After the manipulation the execution of the class should print: "I love apples" instead of: "I hate apples" 回答1: there is no < or > at the byte code level per