For fields of type boolean, Lombok will generate isFoo() unless a
method called getFoo() or hasFoo() exists :-)

On Aug 25, 5:58 pm, Casper Bang <[email protected]> wrote:
> Ah, the wonderful inconsistent world of Java pseudo "properties". So
> for boolean types, will we generate isFoo() or getFoo() or both?
>
> /Casper
>
> On 25 Aug., 13:34, Steve <[email protected]> wrote:
>
> > I hope they soon add knowledge of Eclipse's field prefixes so the
> > @Data class annotation will generate getters/setters without the
> > prefix.
>
> > Right now
>
> > class @Data Car
> > private int fSpeed;
>
> > produces
>
> > setFSpeed(int)
> > getFSpeed()
>
> > On Aug 24, 4:10 pm, Matt <[email protected]> wrote:
>
> > > I don't have much to go on either, it just does nothing. I get the
> > > import statement and add the annotation, then nothing. I haven't tried
> > > it on a fresh Eclipse though. I'll try it on my home machine when I
> > > get there.
>
> > > On Aug 24, 1:40 pm, Reinier Zwitserloot <[email protected]> wrote:
>
> > > > Hey Matt,
>
> > > > I really don't know what to say. There's not much to go on when all I
> > > > get is "it doesn't work for us". Are there errors in the error view?
> > > > Did you try downloading a fresh new eclipse? Give me _something_ to
> > > > work with.
>
> > > > On Aug 24, 7:28 pm, Matt <[email protected]> wrote:
>
> > > > > Yeah, we installed it to our Eclipses. That's what's weird, it seems
> > > > > like it works fine for everybody but both of us.
>
> > > > > On Aug 24, 11:07 am, Casper Bang <[email protected]> wrote:
>
> > > > > > Sure, works fine here on 64bit Ubuntu 9.04 and Eclipse 3.5. Did you
> > > > > > remember to install the extension to Eclipse (run lombok.jar as a 
> > > > > > Java
> > > > > > application and point to your eclipse installation folder)? The
> > > > > > checkedException prototype does not work for me however.
>
> > > > > > /Casper
>
> > > > > > On 24 Aug., 18:46, Matt <[email protected]> wrote:
>
> > > > > > > My coworker and I tried it a few weeks ago and got nothing. We 
> > > > > > > both
> > > > > > > got it to install but when we added the annotations and the import
> > > > > > > statements, nothing happened. Eclipse obviously saw the jar file 
> > > > > > > since
> > > > > > > it would auto-add the import like it should have, but then nothing
> > > > > > > happened. I posted in their forum but I only got basically "It 
> > > > > > > should
> > > > > > > have worked" in response. We'd love to use it but since it did 
> > > > > > > nothing
> > > > > > > for either of us we were a little disheartened. If it was just me 
> > > > > > > that
> > > > > > > would be one thing but neither of us got anything.
>
> > > > > > > Are we alone in having it not work for us?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to