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