-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Delegate @Getter(lazy=true) doesn't work. #401
Comments
👤 reinierz 🕗 Jan 18, 2012 at 23:42 UTC This should translate to: As if the @ Delegate was on the getX() method instead. |
👤 r.spilker 🕗 Jan 23, 2012 at 20:56 UTC If @ Delegate is put on a field that also has @ Getter(lazy=true), the getter should be used in all delegated methods instead of the fields directly. |
👤 r.spilker 🕗 Jan 23, 2012 at 21:42 UTC (Also, if @ Delegate does not explicitly specify a type, we should use the original type of the field. In the case of @ Delegate @ Getter(lazy=true), we currently substitute the AtomicReference created by the lazy getter.) |
👤 r.spilker 🕗 Jan 23, 2012 at 23:10 UTC On second thought, I think we should always use the getter if we generate one. Not only if lazy=true We do have an opt-out mechanism for this in @ EqualsAndHashCode. At this point we don't see a need for this in @ Delegate. |
👤 r.spilker 🕗 Jan 24, 2012 at 02:15 UTC Feature added in fc7ca61 |
👤 reinierz 🕗 Feb 15, 2012 at 03:38 UTC Will be in version following 0.10.8 |
End of migration |
Migrated from Google Code (issue 328)
The text was updated successfully, but these errors were encountered: