private void addLoadPropertyIds ( Object [ ] properties , int count ) { addNewObjectArray ( count ) ; for ( int i = 0 ; i != count ; ++ i ) { cfw . add ( ByteCode . DUP ) ; cfw . addPush ( i ) ; Object id = properties [ i ] ; if ( id instanceof String ) { cfw . addPush ( ( String ) id ) ; } else { cfw . addPush ( ( ( Integer ) id ) . intValue ( ) ) ; addScriptRuntimeInvoke ( "wrapInt" , "(I)Ljava/lang/Integer;" ) ; } cfw . add ( ByteCode . AASTORE ) ; } }
load array with property ids