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

If a property has no annotation, but only a getter, it should be read-only. #4662

Open
beyond-seunghyun opened this issue Apr 25, 2024 · 0 comments

Comments

@beyond-seunghyun
Copy link

If a property has no annotation, but only a getter, it should be read-only.

For example.

public class Cap {

    public String getBrand() {
        return "no brand";
    }
}

A Cap's property "brand" should be read-only. Because there's no way to write "brand".

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

1 participant