public java.util.List METHOD_1 ( java.lang.String query ) { java.util.List < TYPE_1 > VAR_1 = new java.util.ArrayList < > ( ) ; if ( ( query == null ) || ( query . isEmpty ( ) ) ) { return VAR_1 ; } for ( TYPE_1 i : VAR_2 ) { if ( i . getName ( ) . equals ( query ) ) { VAR_1 . add ( i ) ; } } return VAR_1 ; }

public java.util.List METHOD_1 ( java.lang.String query ) { java.util.List < TYPE_1 > VAR_1 = new java.util.ArrayList < > ( ) ; if ( ( ( query == null ) || ( query . isEmpty ( ) ) ) || ( VAR_2 . isEmpty ( ) ) ) { return VAR_1 ; } for ( TYPE_1 i : VAR_2 ) { if ( i . getName ( ) . toLowerCase ( ) . equals ( query . toLowerCase ( ) ) ) { VAR_1 . add ( i ) ; } } return VAR_1 ; }
