void () { CodeStyle.doWithTemporarySettings( getProject(), getCurrentCodeStyleSettings(), settings -> { settings.getCommonSettings(JavaLanguage.INSTANCE).DO_NOT_INDENT_TOP_LEVEL_CLASS_MEMBERS = true; doTextTest( "java", "public class Test extends A implements B,C {<caret>\n" + "}", """ public class Test extends A implements B,C { <caret> }""" ); }); }