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

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

Open
fwang2002 opened this issue Jun 1, 2022 · 0 comments

Comments

@fwang2002
Copy link

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.

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