void () { CommonCodeStyleSettings javaSettings = CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE); javaSettings.ALIGN_MULTILINE_PARAMETERS = true; javaSettings.ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true; doTestMethodType("test234", myFactory.createTypeFromText("long", null)); }