code: public final int getConstantIndex(long constant)
      {
          for (ConstantInfo ci : listConstantInfo(ConstantLong.class))
          {
              ConstantLong ic = (ConstantLong) ci;
              if (constant == ic.getConstant())
              {
                  return constantPoolIndexMap.get(ci);
              }
          }
          return -1;
      }
docs: Returns the constant map index to constant
  @param constant
  @return