采取下列行动: i)有这样的项目。 jar 案,在案卷中,需要修改传令,以便采用某种方式让人们说几类。 例如,我要说的是,这一类A.格有一种名称的方法。
change(String a, String b)
在这种方法中,以下做法是作为守则第一行:
a = a + "hi";
i want to modify the .class file directly, without needing to recompile everything again. then after that i would update the jar file with the new class file. is it possible? if yes can anyone show an example? thanks a lot in advance!