[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-user
Subject:    [groovy-user] implicit accessors and @Override
From:       Thibault Kruse <tibokruse () googlemail ! com>
Date:       2014-08-31 10:09:28
Message-ID: CAByu6UVTwEVQ=S15R-U0m3fFNBgLzA27-1=TF5-xJkOaaESDLw () mail ! gmail ! com
[Download RAW message or body]

Hi,

what is the opinion about implementing an interfacte that defined def
getFoo(); with a class like this:

class SubFoo extends Foo {
   def foo
}

The problem I see here is that the @Override notation cannot be used
without explicitly adding the getter method.

I did not see any codenarc rule for this yet, but I think I would
prefer code to use an explicit method in the subclass here having
@Override.

thoughts?

cheers,
  Thibault

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic