void (@NotNull GrTypeCastExpression typeCastExpression) { if (SpacingTokens.LEFT_BRACES.contains(myType1) || SpacingTokens.RIGHT_BRACES.contains(myType2)) { createSpaceInCode(mySettings.SPACE_WITHIN_CAST_PARENTHESES); } else if (myType1 == GroovyTokenTypes.mRPAREN) { createSpaceInCode(mySettings.SPACE_AFTER_TYPE_CAST); } }