Create automatically only getters in Eclipse

Posted by lerad on Stack Overflow See other posts from Stack Overflow or by lerad
Published on 2010-04-25T10:49:13Z Indexed on 2010/04/25 10:53 UTC
Read the original article Hit count: 210

Filed under:
|
|

In Eclipse is it possible to create automatically Getters and Setters for a field. But I have a lot of private fields for which only getters should exist. Is somewhere in Eclipse a "create Getters" Function which does not create setters too?

Well, it is not so much work to write getters, but doing it automatically would be nice :)

Thank you, lerad

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse