Skip to content

Property lombok.toString.callSuper = call #1918

Closed
@zbynekvavros

Description

@zbynekvavros

I really hope I don't duplicate anything but I haven't found this anywhere.
We have property 'lombok.equalsAndHashCode.callSuper = call' but no
'lombok.toString.callSuper = call'. Is there any particular reason why such a property
is missing in configuration?

Activity

palashgoel7

palashgoel7 commented on Oct 23, 2018

@palashgoel7

ToString does have a callSuper boolean, same as EqualsAndHashcode.

@ToString(callSuper = true)

zbynekvavros

zbynekvavros commented on Oct 23, 2018

@zbynekvavros
Author

I am talking about property in lombok.properties (having lombok.toString.callSuper = call).
Is this possible?

rzwitserloot

rzwitserloot commented on Nov 5, 2018

@rzwitserloot
Collaborator

It'll be in the next version :)

zbynekvavros

zbynekvavros commented on Nov 5, 2018

@zbynekvavros
Author

Thanks :)

mgohin

mgohin commented on Jan 4, 2019

@mgohin

Guys, the doc speaks about it but as I understand it's not released yet ?
https://projectlombok.org/features/ToString : lombok.toString.callSuper = [call | skip | warn] (default: skip)

We are trying to use it for one hour with no success, and I step into this github issue :/

rzwitserloot

rzwitserloot commented on Jan 29, 2019

@rzwitserloot
Collaborator

this is now available in edge release: https://projectlombok.org/download-edge

a new full lombok release will be out soon, we have one more change we'd like to run in edge release first before then.

celdridge91190

celdridge91190 commented on Mar 18, 2019

@celdridge91190

There are a couple of spots in the documentation where there are references to callSuper = true, which I've seen cause people some confusion. If the current released version now supports call, would it be possible to have the documentation cleaned up to remove references to true/false? This is true of both toString and EqualsAndHashCode. Big fan of the update to include the warn though given the impact :)

i.e. . By setting callSuper to true, you can include the output of the superclass implementation of toString to the output.

CH-LuizGerosa

CH-LuizGerosa commented on Mar 21, 2019

@CH-LuizGerosa

I upgraded to version 1.18.6 and I'm still receiving the error message Unknown key 'lombok.toString.callSuper' during the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rzwitserloot@celdridge91190@mgohin@palashgoel7@zbynekvavros

        Issue actions

          Property lombok.toString.callSuper = call · Issue #1918 · projectlombok/lombok