void (@NotNull PsiTypeCastExpression expression) { if (myRole1 == ChildRole.LPARENTH || myRole2 == ChildRole.RPARENTH) { createSpaceInCode(mySettings.SPACE_WITHIN_CAST_PARENTHESES); } else if (myRole1 == ChildRole.RPARENTH) { createSpaceInCode(mySettings.SPACE_AFTER_TYPE_CAST); } }