I am new to java. I was wondering if there is a tool to copy fields and method easily. E.g if I have
private String foo; // with getter/setters
I should be able to select foo
and type bar car
in a textbox and the tool should generate fields bar
and car
with their getter/setters.
EDIT : I use eclipse and know how to use the ide. But I would like to be able type any number of names in a textbox and the tool should the fields and along with their getter/setters. Creating each field and their getter/setters take some time.