getVisibleFields

Return a list of all fields declared and the inherited ones which are not private.