def get_kind(cm, kind, value):
if kind == KIND_METH:<EOL><INDENT>method = cm.get_method_ref(value)<EOL>class_name = method.get_class_name()<EOL>name = method.get_name()<EOL>descriptor = method.get_descriptor()<EOL>return "<STR_LIT>" % (class_name, name, descriptor)<EOL><DEDENT>elif kind == KIND_STRING:<EOL><INDENT>return repr(cm.get_string(value))<EOL><DEDENT>elif kind == KIND_RAW_STRING:<EOL><INDENT>return cm.get_string(value)<EOL><DEDENT>elif kind == KIND_FIELD:<EOL><INDENT>class_name, proto, field_name = cm.get_field(value)<EOL>return "<STR_LIT>" % (class_name, field_name, proto)<EOL><DEDENT>elif kind == KIND_TYPE:<EOL><INDENT>return cm.get_type(value)<EOL><DEDENT>elif kind == VTABLE_OFFSET:<EOL><INDENT>return "<STR_LIT>" % value<EOL><DEDENT>elif kind == FIELD_OFFSET:<EOL><INDENT>return "<STR_LIT>" % value<EOL><DEDENT>elif kind == INLINE_METHOD:<EOL><INDENT>buff = "<STR_LIT>" % value<EOL>if len(INLINE_METHODS) > value:<EOL><INDENT>elem = INLINE_METHODS[value]<EOL>buff += "<STR_LIT>" % (elem[<NUM_LIT:0>], elem[<NUM_LIT:1>], elem[<NUM_LIT:2>])<EOL><DEDENT>return buff<EOL><DEDENT>return None<EOL>
Return the value of the 'kind' argument

:param cm: a ClassManager object
:type cm: :class:`ClassManager`
:param kind: the type of the 'kind' argument
:type kind: int
:param value: the value of the 'kind' argument
:type value: int

:rtype: string