void () { if (myType1 == JavaTokenType.SWITCH_KEYWORD && myType2 == JavaTokenType.LPARENTH) { createSpaceProperty(mySettings.SPACE_BEFORE_SWITCH_PARENTHESES, false, 0); } else if (myType1 == JavaTokenType.LPARENTH || myType2 == JavaTokenType.RPARENTH) { createSpaceInCode(mySettings.SPACE_WITHIN_SWITCH_PARENTHESES); } else if (myType2 == JavaElementType.CODE_BLOCK) { myResult = getSpaceBeforeLBrace(myChild2, mySettings.SPACE_BEFORE_SWITCH_LBRACE, null); } }