code: public FloatConstant getFloatByValue(float value)
    {
      for (int i = 0; i < _entries.size(); i++) {
        ConstantPoolEntry entry = _entries.get(i);
  
        if (! (entry instanceof FloatConstant))
          continue;
  
        FloatConstant floatEntry = (FloatConstant) entry;
  
        if (floatEntry.getValue() == value)
          return floatEntry;
      }
  
      return null;
    }
docs: Gets a float constant.