METHOD_0 ( ) { final com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 j = com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 . METHOD_1 ( ) . setName ( "foo" ) . METHOD_2 ( "1" ) . METHOD_3 ( STRING_0 ) . build ( ) ; final com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 . Builder builder = j . METHOD_4 ( ) ; final java . util . Map < java . lang . String , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 > IDENT_4 = com . google . common . collect . ImmutableMap . of ( STRING_1 , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 . of ( INT_0 ) , STRING_2 , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 . of ( INT_1 ) ) ; final ImmutableMap . Builder < java . lang . String , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_5 > IDENT_6 = com . google . common . collect . ImmutableMap . builder ( ) ; IDENT_6 . put ( STRING_1 , new com . spotify . IDENT_0 . common . IDENT_1 . METHOD_5 ( com . google . common . collect . ImmutableList . of ( STRING_3 , STRING_4 ) ) ) ; IDENT_6 . put ( STRING_2 , new com . spotify . IDENT_0 . common . IDENT_1 . METHOD_5 ( com . google . common . collect . ImmutableList . of ( STRING_5 , STRING_6 ) ) ) ; final com . spotify . IDENT_0 . common . IDENT_1 . IDENT_7 IDENT_8 = new com . spotify . IDENT_0 . common . IDENT_1 . METHOD_6 ( IDENT_6 . build ( ) ) ; final java . util . Map < com . spotify . IDENT_0 . common . IDENT_1 . IDENT_9 , com . spotify . IDENT_0 . common . IDENT_1 . METHOD_6 > IDENT_10 = com . google . common . collect . ImmutableMap . of ( com . spotify . IDENT_0 . common . IDENT_1 . IDENT_9 . of ( STRING_1 0 , STRING_7 ) , IDENT_8 ) ; builder . METHOD_7 ( IDENT_4 ) . METHOD_8 ( IDENT_10 ) ; "<AssertPlaceHolder>" ; } validate ( com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 ) { final java . util . Set < java . lang . String > errors = com . google . common . collect . IDENT_11 . METHOD_9 ( ) ; errors . addAll ( METHOD_10 ( job ) ) ; errors . addAll ( METHOD_11 ( job . METHOD_12 ( ) ) ) ; errors . addAll ( METHOD_13 ( job . METHOD_14 ( ) ) ) ; final java . util . Set < java . lang . Integer > IDENT_12 = com . google . common . collect . IDENT_11 . METHOD_9 ( ) ; for ( final com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 mapping : job . METHOD_15 ( ) . values ( ) ) { final java . lang . Integer IDENT_13 = mapping . METHOD_16 ( ) ; if ( ( IDENT_12 . contains ( IDENT_13 ) ) && ( IDENT_13 != null ) ) { errors . add ( java . lang . String . format ( STRING_8 9 , IDENT_13 ) ) ; } IDENT_12 . add ( IDENT_13 ) ; } for ( final Map . Entry < java . lang . String , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 > entry : job . METHOD_15 ( ) . entrySet ( ) ) { final java . lang . String name = entry . getKey ( ) ; final com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 mapping = entry . getValue ( ) ; if ( ! ( com . spotify . IDENT_0 . common . IDENT_14 . IDENT_15 . matcher ( mapping . METHOD_17 ( ) ) . matches ( ) ) ) { errors . add ( java . lang . String . format ( STRING_8 6 , mapping . METHOD_17 ( ) ) ) ; } if ( ! ( METHOD_18 ( mapping . METHOD_19 ( ) ) ) ) { errors . add ( java . lang . String . format ( STRING_9 , mapping . METHOD_19 ( ) ) ) ; } if ( ( ( mapping . METHOD_16 ( ) ) != null ) && ( ! ( METHOD_18 ( mapping . METHOD_16 ( ) ) ) ) ) { errors . add ( java . lang . String . format ( STRING_10 , mapping . METHOD_16 ( ) ) ) ; } if ( ! ( com . spotify . IDENT_0 . common . IDENT_14 . IDENT_16 . matcher ( name ) . matches ( ) ) ) { errors . add ( java . lang . String . format ( STRING_11 , name ) ) ; } } for ( final com . spotify . IDENT_0 . common . IDENT_1 . IDENT_9 IDENT_17 : job . METHOD_20 ( ) . METHOD_21 ( ) ) { final com . spotify . IDENT_0 . common . IDENT_1 . METHOD_6 IDENT_8 = job . METHOD_20 ( ) . get ( IDENT_17 ) ; if ( ( IDENT_8 == null ) || ( ( IDENT_8 . METHOD_15 ( ) ) == null ) ) { errors . add ( java . lang . String . format ( STRING_8 3 , IDENT_17 . getName ( ) ) ) ; continue ; } for ( final java . lang . String IDENT_18 : IDENT_8 . METHOD_15 ( ) . METHOD_21 ( ) ) { if ( ! ( job . METHOD_15 ( ) . containsKey ( IDENT_18 ) ) ) { errors . add ( java . lang . String . format ( STRING_8 4 , IDENT_17 , IDENT_18 ) ) ; } if ( ! ( com . spotify . IDENT_0 . common . IDENT_14 . IDENT_19 . matcher ( IDENT_17 . getName ( ) ) . matches ( ) ) ) { errors . add ( java . lang . String . format ( STRING_12 , IDENT_17 . getName ( ) ) ) ; } } } for ( final Map . Entry < java . lang . String , java . lang . String > entry : job . METHOD_22 ( ) . entrySet ( ) ) { final java . lang . String path = entry . getKey ( ) ; final java . lang . String source = entry . getValue ( ) ; if ( ! ( path . startsWith ( STRING_8 8 ) ) ) { errors . add ( ( STRING_13 + path ) ) ; continue ; } if ( ( source . contains ( STRING_8 8 ) ) && ( ! ( source . startsWith ( STRING_8 8 ) ) ) ) { errors . add ( ( STRING_8 1 + source ) ) ; continue ; } final java . lang . String [ ] IDENT_20 = path . split ( STRING_8 0 , 3 ) ; if ( ( ( ( path . isEmpty ( ) ) || ( path . equals ( STRING_8 8 ) ) ) || ( ( IDENT_20 . length ) > 2 ) ) || ( ( ( IDENT_20 . length ) > 1 ) && ( IDENT_20 [ 1 ] . isEmpty ( ) ) ) ) { errors . add ( java . lang . String . format ( STRING_14 , path ) ) ; } } final java . util . Date IDENT_21 = job . METHOD_23 ( ) ; final java . util . Date now = new java . util . Date ( ) ; if ( ( IDENT_21 != null ) && ( IDENT_21 . METHOD_24 ( now ) ) ) { errors . add ( ( ( ( STRING_15 + IDENT_21 ) + STRING_8 2 ) + now ) ) ; } errors . addAll ( METHOD_25 ( job ) ) ; errors . addAll ( METHOD_26 ( job ) ) ; if ( IDENT_22 ) { errors . addAll ( METHOD_27 ( job ) ) ; } for ( final java . lang . String IDENT_23 : job . METHOD_28 ( ) . METHOD_21 ( ) ) { if ( ! ( IDENT_23 . startsWith ( STRING_8 8 ) ) ) { errors . add ( ( STRING_16 + IDENT_23 ) ) ; continue ; } } final java . util . Set < java . lang . String > IDENT_24 = com . google . common . collect . IDENT_11 . METHOD_9 ( ) ; for ( java . lang . String s : job . METHOD_22 ( ) . METHOD_21 ( ) ) { IDENT_24 . add ( s . split ( STRING_8 0 , 2 ) [ 0 ] ) ; } for ( final java . lang . String IDENT_23 : job . METHOD_28 ( ) . METHOD_21 ( ) ) { if ( IDENT_24 . contains ( IDENT_23 ) ) { errors . add ( java . lang . String . format ( STRING_8 7 , IDENT_23 ) ) ; } } errors . addAll ( METHOD_29 ( job ) ) ; return errors ; }
org . junit . Assert . assertThat ( validator . validate ( builder . build ( ) ) , org . hamcrest . core . Is . is ( org . hamcrest . Matchers . empty ( ) ) )