Skip to content

Add settings to customize getter generation #4072

Open
@anthonyvdotbe

Description

@anthonyvdotbe

For generating getters, I'd like to have:

Image image() {
    return image;
}

instead of:

public Image getImage() {
    return image;
}

This would require:

  • a setting to choose the visibility modifier, if any
  • a setting to choose the method name (this could simply be a boolean setting, as I guess there are only 2 reasonable naming conventions as of today)

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