1. File => Settings
2. Editor = > Code Style => Java = > Code generation => Naming
public class Test { private String mString; static String sString; public String getString() { return mString; } public void setString(String pString) { mString = pString; } public Test(String pString) { mString = pString; } }