Return static and instance fields

        :rtype: a list of :class:`EncodedField` objects

def get_fields(self):
        """
        Return static and instance fields

        :rtype: a list of :class:`EncodedField` objects
        """
        return [x for x in self.static_fields] + [x
                                                  for x in self.instance_fields]