Eclipse how to convert automatically?
<p>Say I have:</p>

<pre><code>p.size = packetLine[0]; // where packetLine is of type String[] and element at that position is number represented by String
</code></pre>

<p>I don't want always to write </p>

<pre><code>Integer.parseInt 

 or reverse

String.valueOf
</code></pre>

<p>Eclipse gives propositions to correct the error, can I make it to advice to convert the values? </p>

<p>At the moment it suggests to change the type. I would like third proposition 'Convert to Int' or 'Convert to String;</p>

<p>This is particularly annoying when repeating thousand times, I might just introduce my own method for converting like toInt or toString2, but in build solution would be better.</p>
