void () { if (mySettings.MODIFIER_LIST_WRAP) { myResult = Spacing.createSpacing(0, 0, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE); } else if (myRole1 == ChildRole.MODIFIER_LIST && myRole2 == ChildRole.PACKAGE_KEYWORD) { myResult = Spacing.createSpacing(1, 1, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE); } else if (myRole2 == ChildRole.TYPE && myChild1.getLastChildNode() != null && myChild1.getLastChildNode().getElementType() == JavaElementType.ANNOTATION || myRole1 == ChildRole.MODIFIER_LIST && myRole2 == ChildRole.RBRACE || myRole1 == ChildRole.MODIFIER_LIST && myRole2 == ChildRole.CLASS_OR_INTERFACE_KEYWORD) { createSpaceProperty(true, mySettings.KEEP_LINE_BREAKS, 0); } else { createSpaceProperty(true, false, 0); } }