def METHOD_NAME(self, oToi, action):
    lTokens = oToi.get_tokens()
    iLine = oToi.get_line_number()
    lReturn = []
    value = set_check_value(action)
    for iToken, oToken in enumerate(lTokens):
        if rules_utils.token_exists_in_token_type_list(oToken, self.analysis_options):
            if utils.is_token_at_end_of_line(iToken, lTokens) == value:
                iViolation_line_number = iLine + rules_utils.number_of_carriage_returns(lTokens[0:iToken])
                sSolution = 'jcl-fix this'
                iEndIndex = utils.find_next_non_whitespace_token(iToken + 1, lTokens) - 1
                oMyToi = oToi.extract_tokens(iToken + 1, iEndIndex)
                oViolation = violation.New(iViolation_line_number, oMyToi, sSolution)
                dAction = {}
                dAction['action'] = action
                oViolation.set_action(dAction)
                lReturn.append(oViolation)
    return lReturn