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