def get_ast(self):
        fields = [get_field_ast(f) for f in self.fields]
        methods = []
        for m in self.methods:
          if isinstance(m, DvMethod) and m.ast:
            methods.append(m.get_ast())
        isInterface = 'interface' in self.access
        return {
            'rawname': self.thisclass[1:-1],
            'name': parse_descriptor(self.thisclass),
            'super': parse_descriptor(self.superclass),
            'flags': self.access,
            'isInterface': isInterface,
            'interfaces': map(parse_descriptor, self.interfaces),
            'fields': fields,
            'methods': methods,
        }
dataset/ETHPy150Open androguard/androguard/androguard/decompiler/dad/decompile.py/DvClass.get_ast/original