METHOD_0 ( ) { org . apache . IDENT_0 . view . IDENT_1 resource = null ; org . apache . IDENT_0 . plugin . model . IDENT_2 IDENT_3 = null ; org . apache . IDENT_0 . plugin . model . IDENT_4 IDENT_5 = IDENT_6 . METHOD_1 ( resource , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . apache . IDENT_0 . view . IDENT_7 , org . apache . IDENT_0 . plugin . model . IDENT_2 ) { if ( ( ( IDENT_8 == null ) || ( service == null ) ) || ( ( org . apache . IDENT_0 . common . IDENT_9 . METHOD_2 ( service . getType ( ) ) ) == null ) ) { return null ; } org . apache . IDENT_0 . plugin . model . IDENT_4 ret = new org . apache . IDENT_0 . plugin . model . METHOD_3 ( ) ; ret = ( ( org . apache . IDENT_0 . plugin . model . METHOD_3 ) ( METHOD_4 ( IDENT_8 , ret ) ) ) ; ret . METHOD_5 ( service . getName ( ) ) ; ret . setName ( org . apache . commons . lang . StringUtils . trim ( IDENT_8 . METHOD_6 ( ) ) ) ; ret . METHOD_7 ( IDENT_8 . METHOD_8 ( ) ) ; ret . METHOD_9 ( ( ( IDENT_8 . METHOD_10 ( ) ) == true ) ) ; ret . METHOD_11 ( IDENT_8 . METHOD_12 ( ) ) ; java . lang . Integer IDENT_10 = org . apache . IDENT_0 . common . IDENT_9 . METHOD_2 ( service . getType ( ) ) ; java . lang . Boolean IDENT_11 = Boolean . IDENT_12 ; if ( ( IDENT_10 == ( IDENT_13 . IDENT_14 ) ) && ( ( IDENT_8 . METHOD_13 ( ) ) != null ) ) { IDENT_11 = IDENT_8 . METHOD_13 ( ) ; } java . lang . Boolean IDENT_15 = Boolean . IDENT_12 ; if ( ( IDENT_8 . METHOD_14 ( ) ) != null ) { IDENT_15 = IDENT_8 . METHOD_14 ( ) . equals ( org . apache . IDENT_0 . common . IDENT_13 . METHOD_15 ( IDENT_13 . IDENT_16 ) ) ; } java . lang . Boolean IDENT_17 = Boolean . IDENT_12 ; if ( ( IDENT_8 . METHOD_16 ( ) ) != null ) { IDENT_17 = IDENT_8 . METHOD_16 ( ) . equals ( org . apache . IDENT_0 . common . IDENT_13 . METHOD_15 ( IDENT_13 . IDENT_16 ) ) ; } if ( ( IDENT_10 == ( IDENT_13 . IDENT_14 ) ) && ( ( IDENT_8 . METHOD_17 ( ) ) != null ) ) { METHOD_18 ( IDENT_8 . METHOD_17 ( ) , STRING_0 , Boolean . IDENT_12 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_20 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_20 ( ) , STRING_1 , IDENT_15 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_21 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_21 ( ) , STRING_2 , Boolean . IDENT_12 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_22 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_22 ( ) , STRING_3 , IDENT_17 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_23 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_23 ( ) , STRING_4 , Boolean . IDENT_12 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_24 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_24 ( ) , STRING_5 0 , Boolean . IDENT_12 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_25 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_25 ( ) , STRING_5 , Boolean . IDENT_12 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_26 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_26 ( ) , STRING_6 , Boolean . IDENT_12 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_27 ( ) ) != null ) { METHOD_18 ( IDENT_8 . METHOD_27 ( ) , STRING_7 , Boolean . IDENT_12 , IDENT_11 , ret . METHOD_19 ( ) ) ; } if ( ( IDENT_8 . METHOD_28 ( ) ) != null ) { java . util . List < org . apache . IDENT_0 . view . IDENT_18 > IDENT_19 = IDENT_8 . METHOD_28 ( ) ; for ( org . apache . IDENT_0 . view . IDENT_18 IDENT_20 : IDENT_19 ) { java . util . List < java . lang . String > IDENT_21 = new java . util . ArrayList < java . lang . String > ( ) ; java . util . List < java . lang . String > IDENT_22 = new java . util . ArrayList < java . lang . String > ( ) ; java . util . List < org . apache . IDENT_0 . plugin . model . METHOD_3 . IDENT_23 > IDENT_24 = new java . util . ArrayList < org . apache . IDENT_0 . plugin . model . METHOD_3 . IDENT_23 > ( ) ; java . lang . String IDENT_25 = null ; boolean IDENT_26 = false ; if ( ( IDENT_20 . METHOD_29 ( ) ) != null ) { for ( java . lang . String user : IDENT_20 . METHOD_29 ( ) ) { if ( user . contains ( METHOD_30 ( user ) ) ) { IDENT_21 . add ( user ) ; } } } if ( ( IDENT_20 . METHOD_31 ( ) ) != null ) { for ( java . lang . String group : IDENT_20 . METHOD_31 ( ) ) { if ( group . contains ( METHOD_32 ( group ) ) ) { IDENT_22 . add ( group ) ; } } } if ( ( IDENT_20 . METHOD_33 ( ) ) != null ) { for ( java . lang . String IDENT_27 : IDENT_20 . METHOD_33 ( ) ) { if ( ( org . apache . IDENT_0 . common . IDENT_28 . METHOD_34 ( IDENT_27 ) ) != 0 ) { if ( STRING_8 . equalsIgnoreCase ( IDENT_27 ) ) { IDENT_26 = true ; if ( IDENT_10 != ( IDENT_13 . IDENT_29 ) ) { continue ; } } IDENT_24 . add ( new org . apache . IDENT_0 . plugin . model . METHOD_3 . METHOD_35 ( IDENT_27 ) ) ; } } } if ( ( IDENT_20 . METHOD_36 ( ) ) != null ) { IDENT_25 = IDENT_20 . METHOD_36 ( ) ; } org . apache . IDENT_0 . plugin . model . METHOD_3 . IDENT_30 IDENT_31 = new org . apache . IDENT_0 . plugin . model . METHOD_3 . METHOD_37 ( ) ; IDENT_31 . METHOD_38 ( IDENT_21 ) ; IDENT_31 . METHOD_39 ( IDENT_22 ) ; IDENT_31 . METHOD_40 ( IDENT_24 ) ; if ( IDENT_26 ) { IDENT_31 . METHOD_41 ( Boolean . IDENT_32 ) ; } else { IDENT_31 . METHOD_41 ( Boolean . IDENT_12 ) ; } if ( ( IDENT_25 != null ) && ( ! ( IDENT_25 . isEmpty ( ) ) ) ) { org . apache . IDENT_0 . plugin . model . METHOD_3 . IDENT_33 IDENT_34 = new org . apache . IDENT_0 . plugin . model . METHOD_3 . METHOD_42 ( STRING_9 , java . util . Collections . singletonList ( IDENT_25 ) ) ; IDENT_31 . METHOD_43 ( ) . add ( IDENT_34 ) ; } ret . METHOD_44 ( ) . add ( IDENT_31 ) ; } } return ret ; }
org . junit . Assert . assertNull ( IDENT_5 )