METHOD_0 ( ) { java . lang . String IDENT_0 = ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( STRING_0 + STRING_1 3 ) + ( org . drools . compiler . Person . class . getName ( ) ) ) + STRING_2 ) + STRING_3 ) + STRING_1 7 ) + STRING_1 6 ) + STRING_4 ) + STRING_1 5 ) + STRING_1 2 ) + STRING_1 ) + STRING_1 4 ) + STRING_1 6 ) + STRING_1 1 ) + STRING_1 5 ) + STRING_1 2 ) + STRING_1 ) + "" ; org . kie . internal . utils . IDENT_1 helper = new org . kie . internal . utils . METHOD_1 ( ) ; helper . METHOD_2 ( IDENT_0 , IDENT_2 . IDENT_3 ) ; org . kie . api . runtime . IDENT_4 session = helper . build ( ) . METHOD_3 ( ) ; java . util . List < java . lang . Integer > list = new java . util . ArrayList ( ) ; session . METHOD_4 ( STRING_1 0 , list ) ; for ( org . kie . api . IDENT_5 . rule . IDENT_6 r : session . METHOD_5 ( ) . METHOD_6 ( STRING_5 ) . METHOD_7 ( ) ) { ( ( org . drools . core . IDENT_7 . rule . impl . IDENT_8 ) ( r ) ) . METHOD_8 ( new org . drools . core . spi . METHOD_9 ( ) { @ org . drools . compiler . IDENT_9 . Override public int getValue ( org . drools . core . spi . IDENT_10 IDENT_11 , org . kie . api . IDENT_5 . rule . IDENT_6 rule , org . drools . core . IDENT_12 IDENT_13 ) { if ( IDENT_11 == null ) { return 0 ; } org . drools . core . common . IDENT_14 IDENT_15 = ( ( org . drools . core . common . IDENT_14 ) ( IDENT_11 . METHOD_10 ( ) . METHOD_11 ( ) . get ( 0 ) ) ) ; return ( ( org . drools . compiler . Person ) ( IDENT_15 . METHOD_12 ( ) ) ) . METHOD_13 ( ) ; } @ org . drools . compiler . IDENT_9 . Override public int getValue ( ) { throw new java . lang . IllegalStateException ( STRING_6 ) ; } @ org . drools . compiler . IDENT_9 . Override public boolean METHOD_14 ( ) { return true ; } } ) ; } session . insert ( new org . drools . compiler . Person ( "a" , 1 ) ) ; session . insert ( new org . drools . compiler . Person ( "a" , 5 ) ) ; session . insert ( new org . drools . compiler . Person ( "a" , 3 ) ) ; session . insert ( new org . drools . compiler . Person ( "b" , 4 ) ) ; session . insert ( new org . drools . compiler . Person ( "b" , 2 ) ) ; session . insert ( new org . drools . compiler . Person ( "b" , 6 ) ) ; session . METHOD_15 ( ) ; "<AssertPlaceHolder>" ; } METHOD_15 ( ) { return 0 ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( 6 , 5 , 4 , 3 , 2 , 1 ) , list )