void (CodeStyleSettings settings) { if (getProvider() != null) { IndentOptionsEditor indentOptionsEditor = getProvider().getIndentOptionsEditor(); if (indentOptionsEditor != null) { MyIndentOptionsWrapper indentOptionsWrapper = new MyIndentOptionsWrapper(settings, indentOptionsEditor); addTab(indentOptionsWrapper); } } }