public static java.util.List < TYPE_1 > METHOD_1 ( TYPE_1 [ ] nodes ) { java.util.List < TYPE_1 > VAR_1 = new java.util.ArrayList < TYPE_1 > ( ) ; for ( int i = 0 ; i < ( nodes . length ) ; i ++ ) { if ( ( nodes [ i ] ) instanceof TYPE_2 ) { VAR_1 . add ( ( ( TYPE_2 ) ( nodes [ i ] ) ) ) ; } } return VAR_1 ; }

public static java.util.List < TYPE_1 > METHOD_1 ( TYPE_1 [ ] nodes ) { java.util.List < TYPE_1 > VAR_1 = new java.util.ArrayList < TYPE_1 > ( ) ; for ( TYPE_1 node : nodes ) { if ( node instanceof TYPE_2 ) { VAR_1 . add ( node ) ; } } return VAR_1 ; }
