facebook

Automatic generation of getter/setter

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #257671 Reply

    nickebowen
    Member

    Is it possible to have automatic generation of getter/setter methods?

    #257732 Reply

    Riyad Kalla
    Member

    Sure, right click on your file, go to Source, and then Generate Getters/Setters.

    If you mean automatic like you type “private String name;” and it pops up those methods without another thought, you can’t do that, but you can bind the generation dialog to a quick keystroke ot make it easier (I have mine as CTRL-G)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Automatic generation of getter/setter

You must be logged in to post in the forum log in