def METHOD_NAME(self, oToi):
    if self.value == 'ignore':
        return []
    lTokens = oToi.get_tokens()
    iLine = oToi.get_line_number()
    lReturn = []
    for iToken, oToken in enumerate(lTokens):
        if rules_utils.token_exists_in_token_type_list(oToken, self.analysis_options):
            if rules_utils.token_at_beginning_of_line_in_token_list(iToken, lTokens) and self.value == 'no':
                sSolution = 'jcl-fix this'
                iViolation_line_number = iLine + rules_utils.number_of_carriage_returns(lTokens[0:iToken])
                iStartIndex = utils.find_previous_non_whitespace_token(iToken - 1, lTokens) + 1
                oMyToi = oToi.extract_tokens(iStartIndex, iToken - 1)
                oViolation = violation.New(iViolation_line_number, oMyToi, 'jcl-fix this')
                dAction = {}
                dAction['action'] = 'remove_new_line'
                oViolation.set_action(dAction)
                lReturn.append(oViolation)
            elif not rules_utils.token_at_beginning_of_line_in_token_list(iToken, lTokens) and self.value == 'yes':
                sSolution = 'jcl-fix this'
                iViolation_line_number = iLine + rules_utils.number_of_carriage_returns(lTokens[0:iToken])
                iStartIndex = utils.find_previous_non_whitespace_token(iToken - 1, lTokens) + 1
                oMyToi = oToi.extract_tokens(iStartIndex, iToken - 1)
                oViolation = violation.New(iViolation_line_number, oMyToi, 'jcl-fix this')
                dAction = {}
                dAction['action'] = 'add_new_line'
                oViolation.set_action(dAction)
                lReturn.append(oViolation)
    return lReturn