METHOD_0 ( ) { final com . IDENT_0 . service . IDENT_1 . IDENT_2 IDENT_3 = new com . IDENT_0 . service . IDENT_1 . METHOD_1 ( com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_5 ) ; final com . IDENT_0 . service . IDENT_1 . source . IDENT_6 . IDENT_7 IDENT_8 = new com . IDENT_0 . service . IDENT_1 . source . IDENT_6 . METHOD_2 ( ) . METHOD_3 ( com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_5 ) . setName ( com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_5 ) . METHOD_4 ( IDENT_9 . IDENT_10 ) . METHOD_5 ( new com . IDENT_0 . exec . catalog . IDENT_4 . METHOD_6 ( ) . METHOD_7 ( ) ) ; final com . IDENT_0 . exec . catalog . IDENT_11 plugin ; try ( java . lang . IDENT_12 IDENT_13 = plugins . METHOD_8 ( ) ) { plugin = plugins . create ( IDENT_8 ) ; } com . google . common . util . concurrent . IDENT_14 < com . IDENT_0 . service . IDENT_1 . IDENT_15 , java . lang . Exception > state = plugin . METHOD_9 ( ) ; state . get ( ) ; plugin . METHOD_10 ( ) ; plugin . METHOD_11 ( IDENT_9 . IDENT_16 . IDENT_17 , IDENT_9 . IDENT_10 ) ; com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_18 . METHOD_12 ( com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_19 ) ; com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_20 . METHOD_13 ( com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_18 ) ; "<AssertPlaceHolder>" ; plugins . METHOD_14 ( IDENT_8 ) ; } METHOD_15 ( java . lang . String , java . lang . String , boolean ) { return METHOD_16 ( new com . IDENT_0 . exec . store . hive . IDENT_21 . IDENT_22 < org . apache . hadoop . hive . IDENT_23 . api . IDENT_24 > ( ) { @ com . IDENT_0 . exec . store . hive . Override public org . apache . hadoop . hive . IDENT_23 . api . IDENT_24 run ( org . apache . hadoop . hive . IDENT_23 . IDENT_25 client ) throws org . apache . IDENT_26 . IDENT_27 { try { org . apache . hadoop . hive . IDENT_23 . api . IDENT_24 table = client . METHOD_15 ( IDENT_28 , tableName ) ; if ( table == null ) { return null ; } org . apache . hadoop . hive . IDENT_23 . IDENT_29 type = org . apache . hadoop . hive . IDENT_23 . IDENT_29 . valueOf ( table . METHOD_17 ( ) ) ; switch ( type ) { case IDENT_30 : case IDENT_31 : return table ; case IDENT_32 : throw com . IDENT_0 . common . exceptions . IDENT_33 . METHOD_18 ( ) . message ( STRING_0 ) . build ( IDENT_34 . IDENT_35 ) ; case IDENT_36 : default : return null ; } } catch ( org . apache . hadoop . hive . IDENT_23 . api . IDENT_37 e ) { return null ; } } } ) ; }
org . junit . Assert . assertNull ( plugin . METHOD_15 ( null , com . IDENT_0 . exec . catalog . IDENT_4 . IDENT_20 , false ) )