def METHOD_NAME(self) -> BuildFileDefaults:
    types = self.registered_target_types.aliases_to_types
    return BuildFileDefaults(
        {
            target_alias: FrozenDict(
                {
                    field_type.alias: self._freeze_field_value(field_type, default)
                    for field_alias, default in fields.items()
                    for field_type in self._target_type_field_types(types[target_alias])
                    if field_alias in (field_type.alias, field_type.deprecated_alias)
                }
            )
            for target_alias, fields in self.defaults.items()
        }
    )