question: public int indexObject ( Object obj , Environment env ) { if ( indexHashObject == null ) createIndexHash ( env ) ; Integer result = ( Integer ) indexHashObject . get ( obj ) ; if ( result == null ) throw new IndexOutOfBoundsException ( "Cannot find object " + obj + " of type " + obj . getClass ( ) + " in constant pool" ) ; return result . intValue ( ) ; }
target:  Find the index of an Object in the constant pool