protected TYPE_1 METHOD_1 ( TYPE_2 query ) { java.util.List < TYPE_1 > list = query . METHOD_2 ( ) ; if ( ( list . size ( ) ) == 0 ) return null ; if ( ( list . size ( ) ) == 1 ) return list . get ( 0 ) ; throw new TYPE_3 ( ( ( STRING_1 + ( list . size ( ) ) ) + STRING_2 ) ) ; }

protected TYPE_1 METHOD_1 ( TYPE_2 query ) { java.util.List < TYPE_1 > list = query . METHOD_2 ( ) ; if ( list . isEmpty ( ) ) return null ; if ( ( list . size ( ) ) == 1 ) return list . get ( 0 ) ; throw new TYPE_3 ( ( ( STRING_1 + ( list . size ( ) ) ) + STRING_2 ) ) ; }
