Skip to content

referencing wrong field name when global style of field name is prefixed with 'm' #61

@fwang2002

Description

@fwang2002

in Android Studio, when setting java code style with field name prefix, then generated code is wrong, here is an example of auto generated Builder:

    public static final class Builder {
        private int mAppId;

        public Builder() {
        }
        
        public Builder appId(int val) {
            appId = val;
            return this;
        }

        public Config build() {
            return new Config(this);
        }
    }

Here, method appId references the wrong name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions