Context menu "Unite var reuse"
Right click on variable and choose "Unite var reuse". The plugin scans the selected variable is used with different types and asks user to confirm creation of union type with used by the variable types inside. Then apply the created type and rename the variable.