public void resolveWithTimeout(final double timeout) {
    final com.apple.jobjc.Invoke.MsgSend resolveWithTimeout_IMetInst =
        get_resolveWithTimeout_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    resolveWithTimeout_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.DoubleCoder.INST.push(nativeBuffer, timeout);
    resolveWithTimeout_IMetInst.invoke(nativeBuffer);
  }
  public double doubleValue() {
    final com.apple.jobjc.Invoke.MsgSend doubleValue_IMetInst = get_doubleValue_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    doubleValue_IMetInst.init(nativeBuffer, this);
    doubleValue_IMetInst.invoke(nativeBuffer);
    final double returnValue =
        (double) (com.apple.jobjc.PrimitiveCoder.DoubleCoder.INST.popDouble(nativeBuffer));
    return returnValue;
  }