Sometimes I miss the laziness of using an IDE that let me just write the attribute of a Java class and then let the IDE generate the required getter/setter.
Can Emacs do
This site shows with elisp that can be pasted into your .emacs, how to generate getter and setter methods.
.emacs
JDEE has the capability along with a lots more built in to itself.