public void createIndexHash(Environment env){
  indexHashObject=new Hashtable();
  indexHashAscii=new Hashtable();
  for (int i=1; i < cpool.length; i++) {
    if (types[i] == CONSTANT_UTF8) {
      indexHashAscii.put(cpool[i],new Integer(i));
    }
 else {
      try {
        indexHashObject.put(getConstant(i,env),new Integer(i));
      }
 catch (      ClassFormatError e) {
      }
    }
  }
}

public void createIndexHash ( Environment env ) { indexHashObject = new Hashtable ( ) ; indexHashAscii = new Hashtable ( ) ; for ( int i = 1 ; i < cpool . length ; i ++ ) { if ( types [ i ] == CONSTANT_UTF8 ) { indexHashAscii . put ( cpool [ i ] , new Integer ( i ) ) ; } else { try { indexHashObject . put ( getConstant ( i , env ) , new Integer ( i ) ) ; } catch ( ClassFormatError e ) { } } } }
create a hash table of all the items in the constant pool that could possibly be referenced from the outside .
