|
Thanks Thorbjoern!I found by accident that Eclipse allows you to Ctrl-1 on the name a field definition and have it create the getter and setter using "this" correctly and all. In 3.4 there is also Source -> Create Constructor using Fields... which is a bit easier than typing it all by hand :)
I figured it was something like that, but I just wasn't sure so I thought I
would ask.
Yes, the color coding really does help. It's very helpful in a constructor
when you try to initialize a variable but you forgot the this. prefix. You
have to love the modern IDE.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.