Skip to content

Improve Lombok .toString generation for subclasses #20

Open

Description

@brianjmiller

Lombok's @tostring implementation doesn't provide attributes from a base class unless specified. Need to check @DaTa to see if we can pass that option through, or add a new annotation in classes that have a meaningful parent. See callSuper here: http://projectlombok.org/features/ToString.html

Activity

  1. brianjmiller commented on Feb 26, 2014

    @brianjmiller
    MemberAuthor

    Looks like they'll have to be added annotations:

    @DaTa is like having implicit @Getter, @Setter, @tostring, @EqualsAndHashCode and @requiredargsconstructor annotations on the class. However, the parameters of these annotations (such as callSuper, includeFieldNames and exclude) cannot be set with @DaTa. If you need to set non-default values for any of these parameters, just add those annotations explicitly; @DaTa is smart enough to defer to those annotations.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions