void () { CommonCodeStyleSettings settings = getSettings(JavaLanguage.INSTANCE); settings.RIGHT_MARGIN = 80; settings.METHOD_PARAMETERS_WRAP = 1; settings.SPACE_BEFORE_METHOD_PARENTHESES = true; settings.SPACE_BEFORE_METHOD_CALL_PARENTHESES = true; settings.ALIGN_MULTILINE_PARAMETERS = false; CommonCodeStyleSettings.IndentOptions indentOptions = settings.getRootSettings().getIndentOptions(JavaFileType.INSTANCE); indentOptions.USE_TAB_CHARACTER = true; indentOptions.TAB_SIZE = 4; PlatformTestUtil.startPerformanceTest("Java Formatting [3]", 3000, () -> doTest()).assertTiming(); }