METHOD_0 ( ) { if ( ( IDENT_0 ) != null ) { java . util . List < org . geotools . IDENT_1 . IDENT_2 > rules = builder . METHOD_1 ( IDENT_0 , "foo" , org . IDENT_3 . IDENT_4 . utils . IDENT_5 . Integer . class , 4 , false , false ) ; "<AssertPlaceHolder>" ; } } size ( ) { if ( ( IDENT_6 ) != null ) { return IDENT_6 . size ( ) ; } if ( ( org . IDENT_3 . IDENT_7 . IDENT_8 . IDENT_9 ) > 0 ) { try { int count = IDENT_10 . METHOD_2 ( query ) ; if ( count == 0 ) { IDENT_6 = new java . util . ArrayList ( ) ; return count ; } if ( count > 0 ) { return count ; } java . util . List < org . opengis . feature . simple . IDENT_11 > IDENT_12 = new java . util . ArrayList ( ) ; try ( org . geotools . data . simple . IDENT_13 it = IDENT_10 . METHOD_3 ( query ) . METHOD_4 ( ) ) { count = 0 ; while ( it . hasNext ( ) ) { org . opengis . feature . simple . IDENT_11 feature = it . next ( ) ; if ( ( IDENT_12 . size ( ) ) < ( org . IDENT_3 . IDENT_7 . IDENT_8 . IDENT_9 ) ) { IDENT_12 . add ( feature ) ; } count ++ ; } if ( count <= ( org . IDENT_3 . IDENT_7 . IDENT_8 . IDENT_9 ) ) { IDENT_6 = IDENT_12 ; } else { IDENT_12 . METHOD_5 ( ) ; } return count ; } } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } } return super . size ( ) ; }
org . junit . Assert . assertEquals ( 4 , rules . size ( ) )