question: static Collection < PyElement > moveAssignmentsImpl ( @ NotNull final PyClass from , @ NotNull final Collection < PyAssignmentStatement > statements , @ NotNull final PyClass ... to ) { final Collection < PyElement > result = new ArrayList < PyElement > ( ) ; for ( final PyClass destClass : to ) { result . addAll ( PyClassRefactoringUtil . copyFieldDeclarationToStatement ( statements , destClass . getStatementList ( ) , destClass ) ) ; } deleteElements ( statements ) ; return result ; }
target:  Moves assignments from one class to anothers