Read write a java class file
<p>I have a rather strange requirement. I have property files in which same keys are added and a respective java constant is created in interface file.</p>

<p>I want to relive myself of adding into all the files again and again.I know how to read write property file. Is there a way to read / write java file. I mean not the usual file read APIs like   </p>

<pre><code>JavaFileReader jfr;
jfr.AddField("fdsf");
</code></pre>

<p>I understand its very specific requirement.But hoping someone else also has the need:):)</p>
