void () { JavaCodeStyleSettings settings = JavaCodeStyleSettings.getInstance(getProject()); settings.FIELD_NAME_PREFIX = "my"; configureByFile(FILE_PREFIX + "locals/" + "FieldNameCompletion2.java"); checkResultByFile(FILE_PREFIX + "locals/" + "FieldNameCompletion2-result.java"); }