Skip to content

How to generate field for get method #176

@yswtrue

Description

@yswtrue

A pojo like this

@Getter
@Setter
Class A {
    private Timestamp birthday;
    public Integer getAge() {
        if (this.birthday == null) {
            return null;
        }
        return DateUtil.ageOfNow(this.birthday);
    }
}

it won't generate the age field, only birthday field

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions