private static void METHOD_1 ( java.util.List < TYPE_1 > list ) { java.util.List < TYPE_1 > VAR_1 = new java.util.ArrayList < > ( ) ; for ( TYPE_1 c : list ) { if ( c . METHOD_2 ( ) ) { VAR_1 . add ( c ) ; } } for ( TYPE_1 delete : VAR_1 ) { list . remove ( delete ) ; } }

public static void METHOD_1 ( java.util.List < TYPE_1 > list ) { java.util.List < TYPE_1 > VAR_1 = new java.util.ArrayList < > ( ) ; for ( TYPE_1 c : list ) { if ( c . METHOD_2 ( ) ) { VAR_1 . add ( c ) ; } } for ( TYPE_1 delete : VAR_1 ) { list . remove ( delete ) ; } }
