String getterName= "get"+caps(attr); // caps() method makes the first character of attr to caps.
for example : for attribute
the code generated by me is
getCApl() but the Eclipse IDE will generate it as
I am trying to perfect this code and was wondering if there is any utility/java source code which could do this just as
eclipse IDE ? What is the logic that the IDE has adopted to do this.