package Ġorg . jetbrains . research . ml . ast . transform ations . multiple Target Assignment Ċ Ċ import Ġcom . intellij . psi . Psi Element Ċ import Ġcom . intellij . psi . util . Psi Tree Util Ċ import Ġcom . jetbrains . python . psi . Py Assignment Statement Ċ import Ġorg . jetbrains . research . ml . ast . transform ations . Performed Command Storage Ċ import Ġorg . jetbrains . research . ml . ast . transform ations . Transformation Ċ import Ġorg . jetbrains . research . ml . ast . transform ations . util . Psi Util Ċ Ċ object ĠMultiple Target Assignment Transformation Ġ: ĠTransformation () Ġ{ ĊĠĠĠ Ġoverride Ġval Ġkey : ĠString Ġ= Ġ" Multiple Target Ass ig ment " ĊĊĠĠĠ Ġoverride Ġfun Ġforward Apply ( psi Tree : ĠPsi Element , Ġcommands Storage : ĠPer formed Command Storage ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġassignments Ġ= ĠPsi Tree Util . collect Elements OfType ( psi Tree , ĠPy Assignment Statement :: class . java ) ĊĠĠĠĠĠĠĠ Ġval Ġvisitor Ġ= ĠMultiple Target Assignment Visitor ( commands Storage ) ĊĠĠĠĠĠĠĠ ĠPsi Util . accept Statements ( psi Tree . project , Ġassignments , Ġvisitor ) ĊĠĠĠ Ġ} Ċ } Ċ