This does not really answer your question but I can't properly format this into a comment.
Here is a nice way to extract Strings into constant in eclipse. (I didn't know about the pick out string until a couple of weeks ago)
We have this line:
System.out.println("This Line Contains a constant The 42 Constant that is stuck inside");
First let mark the desireed constant with our mouse cursor and ctrl-1 + "pick out selected String", the result is:
System.out.println("This Line Contains a constant " + "The 42 Constant" +" that is stuck inside");
Now you can put your mouse cursor on the picked out constant and Alt+Shift+T and than a (extract constant) that will generate the constants THE_42_CONSTANT as a private static final String
private static final String THE_42_CONSTANT = "The 42 Constant";
...
...
System.out.println("This Line Contains a constant " + THE_42_CONSTANT+ " that is stuck inside");
Hope this is what you are actually looking for, of course you can adjust hot-keys for the aboe actions in eclipse