public TYPE_1 METHOD_1 ( java.lang.String token ) { if ( token == null ) return null ; TYPE_2 query = METHOD_2 ( ) . METHOD_3 ( STRING_1 ) ; query . METHOD_4 ( STRING_2 , token ) ; return ( ( TYPE_1 ) ( query . METHOD_5 ( ) ) ) ; }

public TYPE_1 METHOD_1 ( java.lang.String token ) { if ( token == null ) return null ; TYPE_2 query = METHOD_2 ( ) . METHOD_3 ( STRING_1 ) ; query . METHOD_4 ( STRING_2 , token ) ; java.util.List result = query . list ( ) ; if ( result . isEmpty ( ) ) { return null ; } else { return ( ( TYPE_1 ) ( result . get ( 0 ) ) ) ; } }
