Пример #1
0
  public void setCompletes(final boolean completes) {
    final com.apple.jobjc.Invoke.MsgSend setCompletes_IMetInst = get_setCompletes_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setCompletes_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, completes);
    setCompletes_IMetInst.invoke(nativeBuffer);
  }
Пример #2
0
  public void setHasVerticalScroller(final boolean flag) {
    final com.apple.jobjc.Invoke.MsgSend setHasVerticalScroller_IMetInst =
        get_setHasVerticalScroller_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setHasVerticalScroller_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, flag);
    setHasVerticalScroller_IMetInst.invoke(nativeBuffer);
  }
Пример #3
0
  public void didLoadBytes_loadComplete(
      final com.apple.jobjc.foundation.NSData newBytes, final boolean yorn) {
    final com.apple.jobjc.Invoke.MsgSend didLoadBytes_loadComplete_IMetInst =
        get_didLoadBytes_loadComplete_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    didLoadBytes_loadComplete_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, newBytes);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, yorn);
    didLoadBytes_loadComplete_IMetInst.invoke(nativeBuffer);
  }
Пример #4
0
  public <T extends com.apple.jobjc.ID> T initWithURL_cached(
      final com.apple.jobjc.foundation.NSURL anURL, final boolean willCache) {
    final com.apple.jobjc.Invoke.MsgSend initWithURL_cached_IMetInst =
        get_initWithURL_cached_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    initWithURL_cached_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, anURL);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, willCache);
    initWithURL_cached_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }
  public <T extends com.apple.jobjc.ID> T initWithMantissa_exponent_isNegative(
      final long mantissa, final short exponent, final boolean flag) {
    final com.apple.jobjc.Invoke.MsgSend initWithMantissa_exponent_isNegative_IMetInst =
        get_initWithMantissa_exponent_isNegative_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    initWithMantissa_exponent_isNegative_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.ULongLongCoder.INST.push(nativeBuffer, mantissa);
    com.apple.jobjc.PrimitiveCoder.SShortCoder.INST.push(nativeBuffer, exponent);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, flag);
    initWithMantissa_exponent_isNegative_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }
Пример #6
0
  public <T extends com.apple.jobjc.ID> T dataWithBytesNoCopy_length_freeWhenDone(
      final com.apple.jobjc.Pointer<Void> bytes, final long length, final boolean b) {
    final com.apple.jobjc.Invoke.MsgSend dataWithBytesNoCopy_length_freeWhenDone_CMetInst =
        get_dataWithBytesNoCopy_length_freeWhenDone_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    dataWithBytesNoCopy_length_freeWhenDone_CMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.PointerCoder.INST.push(nativeBuffer, bytes);
    com.apple.jobjc.MixedPrimitiveCoder.UIntULongLongCoder.push(nativeBuffer, length);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, b);
    dataWithBytesNoCopy_length_freeWhenDone_CMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }