public TYPE_1 get ( java.lang.Long id , java.lang.String type ) throws TYPE_2 { TYPE_1 VAR_1 = VAR_2 . get ( id ) ; if ( ! ( VAR_1 . getType ( ) . METHOD_1 ( type ) ) ) { throw new TYPE_2 ( ) ; } return VAR_1 ; }

public TYPE_1 get ( java.lang.Long id , java.lang.String type ) throws TYPE_2 { TYPE_1 VAR_1 = VAR_2 . get ( id ) ; if ( ! ( VAR_1 . getType ( ) . equals ( type ) ) ) { throw new TYPE_2 ( ) ; } return VAR_1 ; }
