Skip to content

Automatically set readOnly flag at fields without setter #2353

@g-tom

Description

@g-tom

Consider a field accessible through getter method but with no setter:

public class HasReadOnlyField {
    private String readOnlyField;

    public String getReadOnlyField() {
        return this.readOnlyField;
    }
}

It could be useful to have such field automatically flagged readOnly, like it is the case for fields with the setter being annotated JsonbTransient.

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

    Issue actions