String (@NotNull PsiField field, @NotNull String fieldName) { JavaCodeStyleManager codeStyleManager = JavaCodeStyleManager.getInstance(field.getProject()); VariableKind kind = codeStyleManager.getVariableKind(field); String name = codeStyleManager.variableNameToPropertyName(fieldName, kind); if (!field.hasModifierProperty(PsiModifier.STATIC) && isBoolean(field.getType())) { if (name.startsWith(IS_PREFIX) && name.length() > IS_PREFIX.length() && Character.isUpperCase(name.charAt(IS_PREFIX.length()))) { name = Introspector.decapitalize(name.substring(IS_PREFIX.length())); } } return name; }