<s> class Completion ( object ) : <EOL> ALL_COMMANDS = None <EOL> ALL_TYPES = None <EOL> TYPE_OPTION = '<STR_LIT>' <EOL> TYPE_ARGUMENT = '<STR_LIT>' <EOL> def __init__ ( self , command_name , target_name , type , completion ) : <EOL> self . _command_name = command_name <EOL> self . _target_name = target_name <EOL> self . _type = type <EOL> self . _completion = completion <EOL> def get_command_name ( self ) : <EOL> return self . _command_name <EOL> def get_target_name ( self ) : <EOL> return self . _target_name <EOL> def get_type ( self ) : <EOL> return self . _type <EOL> def run ( self ) : <EOL> if self . is_callable ( ) : <EOL> self . _completion ( ) <EOL> return self . _completion <EOL> def is_callable ( self ) : <EOL> return callable ( self . _completion ) </s>
