List<CodeStyleObjectDescriptor> () { List<CodeStyleObjectDescriptor> fieldsDescriptors = new ArrayList<>(); IndentOptions indentOptions = getRootSettings().getCommonSettings(myLanguage).getIndentOptions(); if (indentOptions != null) { fieldsDescriptors.add(new CodeStyleObjectDescriptor(indentOptions, getSupportedIndentOptions())); } fieldsDescriptors.add(new CodeStyleObjectDescriptor(getRootSettings().getCommonSettings(myLanguage), getSupportedLanguageFields())); for (CustomCodeStyleSettings customSettings : myCustomSettings) { fieldsDescriptors.add(new CodeStyleObjectDescriptor(customSettings, null)); } return fieldsDescriptors; }