Remove all mapped types from the tree and store the original top-level type as the phase state
to be used later for building the ResultSetMapping.
The immutable state of the phase that can also be accessed by other phases.
Run the phase
The unique name of the phase
Remove MappedTypes from a Type
Remove TypeMapping nodes and MappedTypes