I like to \'guess\' attribute names from getter methods. So \'getSomeAttribute\' shall be converted to \'someAttribute\'.
Usually I do something like
The uncapitalize method of Commons Lang shall help you, but I don't think your solution is so crude.