changing java's .class file without recompiling
<p>is there any way to do the following. so i have a project.jar file, inside it i need to modify the string passed to some method of let's say classA.class. for example, let's say this classA.class has a method named </p>

<pre><code>change(String a, String b)
</code></pre>

<p>what i all want is to do the following as the first line of the code inside this method as follows:</p>

<pre><code>a = a + "hi";
</code></pre>

<p>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!</p>
