Winner of NetBeans IDE 6.8 Screenshot Competition

With the release of NetBeans IDE 6.8 (today) (hurray!) the time has come to reveal the winner of the NetBeans IDE 6.8 screenshot competition. OK, no one knew about this competition because I just invented it myself, plus I am the winner as well, so go figure. Here's the screenshot:

That's Lombok... i.e., forget about typing (and updating!) getters, setters, hashCode, toString, because Lombok does that for you. All you need to do is add an annotation to the class, type the names of your variables, and then, under the hood, everything is generated into the bytecode!

Thanks to Jan Lahoda for the NetBeans integration.

Here's the interview (from where I took the screenshot above, which is by me):

http://netbeans.dzone.com/interview-lombok

...and here's the screencast by Alexis that shows you a complete Java EE 6 demo with Lombok:

http://netbeans.dzone.com/news/screencast-lombok-netbeans-ide

Whoever ends up 'owning' Java, the first thing they should try and accomplish is integrate Lombok into the JDK.

Comments:

How does it work with code completion?
Also the image is ancient: RC2 build instead or final release:-)

Posted by guest on December 10, 2009 at 01:31 AM PST #

Not sure how the integration is done as I see that navigation picks up the injected methods but the highlights /semantic layer still thinks there are some issues there -- note the light bulb and the yellow underlining of variables.

Posted by Emilian Bold on December 10, 2009 at 01:32 AM PST #

I think the main problem is supporting all types of refactorings.

Posted by Sven Reimers on December 10, 2009 at 04:35 AM PST #

> Whoever ends up 'owning' Java, the first thing they should try and accomplish is integrate Lombok into the JDK.

Though the idea of Lombok is interesting, after joing a discussion and thinking more about it, I got the feeling that this is more a hack for some shortcomings in the Java language. So instead of intergrating Lombok to the JDK, I would rather prefer eg. the introduction of properties to the Java language.

Posted by Florian Brunner on December 10, 2009 at 08:22 PM PST #

Lombok seems a nice try.

It lacks support for bound properties though which would really be the advantage of using it.

Posted by jmborer on December 10, 2009 at 10:37 PM PST #

+1 Florian

I must admit that properties and something similar to bean bindings would really be a big enhancement to Java. A lots of third party libs try to fill the gap (beansbinding, JGoodies binding, etc), but this should definetely be part of the JDK!

Posted by jmborer on December 12, 2009 at 06:47 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today