Once analysis has determined which objects are inlinable, we transform the program. In discussing our transformation, the inlined field is the field being removed and the inlined state is the fields being added to the container. First, the methods and classes needed for specialization must be created by cloning. Then classes must be restructured to remove inlined fields and add new fields for inlined state; all uses of inlined fields must be redirected to the container's new inlined state. Finally, definitions of inlined fields must be altered to update inlined state instead.