private TYPE_1 METHOD_1 ( TYPE_1 query ) { if ( query . METHOD_2 ( ) . equals ( field . METHOD_3 ( ) ) ) { return query ; } return new TYPE_2 ( query , field . METHOD_3 ( ) ) ; }
private TYPE_1 METHOD_1 ( TYPE_1 query ) { if ( query . METHOD_2 ( ) . equals ( fieldName ) ) { return query ; } return new TYPE_2 ( query , fieldName ) ; }