Skip to content
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

@Accessors(chain = true) should work with inheritance #148

Open
ultrasecreth opened this issue Apr 10, 2015 · 21 comments
Open

@Accessors(chain = true) should work with inheritance #148

ultrasecreth opened this issue Apr 10, 2015 · 21 comments

Comments

@ultrasecreth
Copy link

When you use @accessors(chain = true) and you have a hierarchy present you can not chain parent setters with child setters cause the return type in the first ones is the parent class so when you wanna start working with the child setters it doesn't work
A solution could be overriding the parent setters to change the return type, and so all the setters related to a class return the same type

@mih-kopylov
Copy link

+1

@vitalii-vitrenko
Copy link

Any update?

@cazacugmihai
Copy link

Is there something wrong with the suggested solution for the implementation?

@KlausGroenbaek
Copy link

+1, the current behavior is rather annoying

@ytheohar
Copy link

+1

5 similar comments
@derfloh205
Copy link

+1

@martynovskyi
Copy link

+1

@celloni
Copy link

celloni commented Jul 31, 2018

+1

@rhandsch
Copy link

+1

@mrsatsuma4260
Copy link

+1

@ghost
Copy link

ghost commented Jan 22, 2019

+1

@lunatic-hombre
Copy link

+1 pretty please

@presteus
Copy link

presteus commented Mar 1, 2019

+10

@smlshn
Copy link

smlshn commented Apr 10, 2019

+1

1 similar comment
@Zap4ick
Copy link

Zap4ick commented Jun 7, 2019

+1

@CatalinaMoisuc
Copy link

It seems that they just simply don't want to do this:
projectlombok/lombok#1868 (comment)
projectlombok/lombok#1868 (comment)

@maxim-kornienko
Copy link

+1

1 similar comment
@ValdisWallace
Copy link

+1

@frandieguez
Copy link

Hi, any news on this regard?

@koval666
Copy link

+1

1 similar comment
@ivelichkevich
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests