def get_class_def_index_from_offset(self, class_def_offset):
    class_defs = self.get_class_defs()
    for (i, class_def) in enumerate(class_defs):
        if (class_def.get_offset() == class_def_offset):
            return i
    return (- 1)
def get_class_def_index_from_offset(self, class_def_offset):
    class_defs = self.get_class_defs()
    for (i, class_def) in enumerate(class_defs):
        if (class_def.get_offset() == class_def_offset):
            return i
    return (- 1)