Couldn’t concretize the title, sorry for that. For example, we have a Parent class and a Child class: And a class that can contain Parent’s child in its field called a: Let’s create an instance of that class and try to assign a value to a: So far, so good. But let’s say we want to move this assignation to