public void scheduleInRunLoop_forMode(
      final com.apple.jobjc.foundation.NSRunLoop aRunLoop,
      final com.apple.jobjc.foundation.NSString mode) {
    final com.apple.jobjc.Invoke.MsgSend scheduleInRunLoop_forMode_IMetInst =
        get_scheduleInRunLoop_forMode_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    scheduleInRunLoop_forMode_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, aRunLoop);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, mode);
    scheduleInRunLoop_forMode_IMetInst.invoke(nativeBuffer);
  }
  public <T extends com.apple.jobjc.ID> T propertyForKey(
      final com.apple.jobjc.foundation.NSString propertyKey) {
    final com.apple.jobjc.Invoke.MsgSend propertyForKey_IMetInst = get_propertyForKey_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    propertyForKey_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, propertyKey);
    propertyForKey_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 dataWithData(
      final com.apple.jobjc.foundation.NSData data) {
    final com.apple.jobjc.Invoke.MsgSend dataWithData_CMetInst = get_dataWithData_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    dataWithData_CMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, data);
    dataWithData_CMetInst.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 initWithString(
      final com.apple.jobjc.foundation.NSString numberValue) {
    final com.apple.jobjc.Invoke.MsgSend initWithString_IMetInst = get_initWithString_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    initWithString_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, numberValue);
    initWithString_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 com.apple.jobjc.foundation.NSString completedString(
      final com.apple.jobjc.foundation.NSString string) {
    final com.apple.jobjc.Invoke.MsgSend completedString_IMetInst = get_completedString_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    completedString_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, string);
    completedString_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSString returnValue =
        (com.apple.jobjc.foundation.NSString)
            (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
  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 com.apple.jobjc.foundation.NSXMLDTDNode predefinedEntityDeclarationForName(
      final com.apple.jobjc.foundation.NSString name) {
    final com.apple.jobjc.Invoke.MsgSend predefinedEntityDeclarationForName_CMetInst =
        get_predefinedEntityDeclarationForName_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    predefinedEntityDeclarationForName_CMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, name);
    predefinedEntityDeclarationForName_CMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSXMLDTDNode returnValue =
        (com.apple.jobjc.foundation.NSXMLDTDNode)
            (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
  public com.apple.jobjc.foundation.NSDecimalNumber decimalNumberByAdding(
      final com.apple.jobjc.foundation.NSDecimalNumber decimalNumber) {
    final com.apple.jobjc.Invoke.MsgSend decimalNumberByAdding_IMetInst =
        get_decimalNumberByAdding_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    decimalNumberByAdding_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, decimalNumber);
    decimalNumberByAdding_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSDecimalNumber returnValue =
        (com.apple.jobjc.foundation.NSDecimalNumber)
            (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
  public com.apple.jobjc.foundation.NSString descriptionWithLocale(
      final com.apple.jobjc.ID locale) {
    final com.apple.jobjc.Invoke.MsgSend descriptionWithLocale_IMetInst =
        get_descriptionWithLocale_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    descriptionWithLocale_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, locale);
    descriptionWithLocale_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSString returnValue =
        (com.apple.jobjc.foundation.NSString)
            (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
示例#10
0
  public <T extends com.apple.jobjc.ID> T initWithMarkerFormat_options(
      final com.apple.jobjc.foundation.NSString format, final long mask) {
    final com.apple.jobjc.Invoke.MsgSend initWithMarkerFormat_options_IMetInst =
        get_initWithMarkerFormat_options_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    initWithMarkerFormat_options_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, format);
    com.apple.jobjc.MixedPrimitiveCoder.UIntULongLongCoder.push(nativeBuffer, mask);
    initWithMarkerFormat_options_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 com.apple.jobjc.foundation.NSDecimalNumber decimalNumberByRaisingToPower_withBehavior(
      final long power, final com.apple.jobjc.ID behavior) {
    final com.apple.jobjc.Invoke.MsgSend decimalNumberByRaisingToPower_withBehavior_IMetInst =
        get_decimalNumberByRaisingToPower_withBehavior_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    decimalNumberByRaisingToPower_withBehavior_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.MixedPrimitiveCoder.UIntULongLongCoder.push(nativeBuffer, power);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, behavior);
    decimalNumberByRaisingToPower_withBehavior_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSDecimalNumber returnValue =
        (com.apple.jobjc.foundation.NSDecimalNumber)
            (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
示例#12
0
  public boolean writeProperty_forKey(
      final com.apple.jobjc.ID propertyValue,
      final com.apple.jobjc.foundation.NSString propertyKey) {
    final com.apple.jobjc.Invoke.MsgSend writeProperty_forKey_IMetInst =
        get_writeProperty_forKey_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    writeProperty_forKey_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, propertyValue);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, propertyKey);
    writeProperty_forKey_IMetInst.invoke(nativeBuffer);
    final boolean returnValue =
        (boolean) (com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.popBoolean(nativeBuffer));
    return returnValue;
  }
示例#13
0
  public void setDelegate(final com.apple.jobjc.ID anObject) {
    final com.apple.jobjc.Invoke.MsgSend setDelegate_IMetInst = get_setDelegate_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setDelegate_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, anObject);
    setDelegate_IMetInst.invoke(nativeBuffer);
  }
  public com.apple.jobjc.foundation.NSDecimalNumber
      decimalNumberByMultiplyingByPowerOf10_withBehavior(
          final short power, final com.apple.jobjc.ID behavior) {
    final com.apple.jobjc.Invoke.MsgSend
        decimalNumberByMultiplyingByPowerOf10_withBehavior_IMetInst =
            get_decimalNumberByMultiplyingByPowerOf10_withBehavior_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    decimalNumberByMultiplyingByPowerOf10_withBehavior_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.SShortCoder.INST.push(nativeBuffer, power);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, behavior);
    decimalNumberByMultiplyingByPowerOf10_withBehavior_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSDecimalNumber returnValue =
        (com.apple.jobjc.foundation.NSDecimalNumber)
            (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
示例#15
0
  public <T extends com.apple.jobjc.ID> T dataWithContentsOfURL_options_error(
      final com.apple.jobjc.foundation.NSURL url,
      final long readOptionsMask,
      final com.apple.jobjc.Pointer<com.apple.jobjc.foundation.NSError> errorPtr) {
    final com.apple.jobjc.Invoke.MsgSend dataWithContentsOfURL_options_error_CMetInst =
        get_dataWithContentsOfURL_options_error_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    dataWithContentsOfURL_options_error_CMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, url);
    com.apple.jobjc.MixedPrimitiveCoder.UIntULongLongCoder.push(nativeBuffer, readOptionsMask);
    com.apple.jobjc.Coder.PointerCoder.INST.push(nativeBuffer, errorPtr);
    dataWithContentsOfURL_options_error_CMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }
示例#16
0
  public void toggle(final com.apple.jobjc.ID sender) {
    final com.apple.jobjc.Invoke.MsgSend toggle_IMetInst = get_toggle_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    toggle_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, sender);
    toggle_IMetInst.invoke(nativeBuffer);
  }
示例#17
0
  public void setContentView(final com.apple.jobjc.appkit.NSView aView) {
    final com.apple.jobjc.Invoke.MsgSend setContentView_IMetInst = get_setContentView_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setContentView_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, aView);
    setContentView_IMetInst.invoke(nativeBuffer);
  }
示例#18
0
  public void setParentWindow(final com.apple.jobjc.appkit.NSWindow parent) {
    final com.apple.jobjc.Invoke.MsgSend setParentWindow_IMetInst = get_setParentWindow_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setParentWindow_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, parent);
    setParentWindow_IMetInst.invoke(nativeBuffer);
  }
示例#19
0
  public void removeClient(final com.apple.jobjc.ID client) {
    final com.apple.jobjc.Invoke.MsgSend removeClient_IMetInst = get_removeClient_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    removeClient_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, client);
    removeClient_IMetInst.invoke(nativeBuffer);
  }
示例#20
0
  public void backgroundLoadDidFailWithReason(final com.apple.jobjc.foundation.NSString reason) {
    final com.apple.jobjc.Invoke.MsgSend backgroundLoadDidFailWithReason_IMetInst =
        get_backgroundLoadDidFailWithReason_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    backgroundLoadDidFailWithReason_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, reason);
    backgroundLoadDidFailWithReason_IMetInst.invoke(nativeBuffer);
  }
  public void addItemsWithObjectValues(final com.apple.jobjc.foundation.NSArray objects) {
    final com.apple.jobjc.Invoke.MsgSend addItemsWithObjectValues_IMetInst =
        get_addItemsWithObjectValues_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    addItemsWithObjectValues_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, objects);
    addItemsWithObjectValues_IMetInst.invoke(nativeBuffer);
  }
示例#22
0
  public com.apple.jobjc.foundation.NSData resourceData() {
    final com.apple.jobjc.Invoke.MsgSend resourceData_IMetInst = get_resourceData_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    resourceData_IMetInst.init(nativeBuffer, this);
    resourceData_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSData returnValue =
        (com.apple.jobjc.foundation.NSData) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
  public void insertItemWithObjectValue_atIndex(final com.apple.jobjc.ID object, final long index) {
    final com.apple.jobjc.Invoke.MsgSend insertItemWithObjectValue_atIndex_IMetInst =
        get_insertItemWithObjectValue_atIndex_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    insertItemWithObjectValue_atIndex_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, object);
    com.apple.jobjc.MixedPrimitiveCoder.SIntSLongLongCoder.push(nativeBuffer, index);
    insertItemWithObjectValue_atIndex_IMetInst.invoke(nativeBuffer);
  }
示例#24
0
  public void setProtocolSpecificInformation(
      final com.apple.jobjc.foundation.NSString specificInformation) {
    final com.apple.jobjc.Invoke.MsgSend setProtocolSpecificInformation_IMetInst =
        get_setProtocolSpecificInformation_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setProtocolSpecificInformation_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, specificInformation);
    setProtocolSpecificInformation_IMetInst.invoke(nativeBuffer);
  }
示例#25
0
  public com.apple.jobjc.appkit.NSView contentView() {
    final com.apple.jobjc.Invoke.MsgSend contentView_IMetInst = get_contentView_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    contentView_IMetInst.init(nativeBuffer, this);
    contentView_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.appkit.NSView returnValue =
        (com.apple.jobjc.appkit.NSView) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
  public com.apple.jobjc.foundation.NSArray objectValues() {
    final com.apple.jobjc.Invoke.MsgSend objectValues_IMetInst = get_objectValues_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    objectValues_IMetInst.init(nativeBuffer, this);
    objectValues_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSArray returnValue =
        (com.apple.jobjc.foundation.NSArray) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
示例#27
0
  public <T extends com.apple.jobjc.ID> T delegate() {
    final com.apple.jobjc.Invoke.MsgSend delegate_IMetInst = get_delegate_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    delegate_IMetInst.init(nativeBuffer, this);
    delegate_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }
示例#28
0
  public com.apple.jobjc.foundation.NSPort port() {
    final com.apple.jobjc.Invoke.MsgSend port_CMetInst = get_port_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    port_CMetInst.init(nativeBuffer, this);
    port_CMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSPort returnValue =
        (com.apple.jobjc.foundation.NSPort) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
示例#29
0
  public <T extends com.apple.jobjc.ID> T initWithDomain_type_name_port(
      final com.apple.jobjc.foundation.NSString domain,
      final com.apple.jobjc.foundation.NSString type,
      final com.apple.jobjc.foundation.NSString name,
      final int port) {
    final com.apple.jobjc.Invoke.MsgSend initWithDomain_type_name_port_IMetInst =
        get_initWithDomain_type_name_port_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    initWithDomain_type_name_port_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, domain);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, type);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, name);
    com.apple.jobjc.PrimitiveCoder.SIntCoder.INST.push(nativeBuffer, port);
    initWithDomain_type_name_port_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 com.apple.jobjc.appkit.NSPrintPanel printPanel() {
    final com.apple.jobjc.Invoke.MsgSend printPanel_CMetInst = get_printPanel_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    printPanel_CMetInst.init(nativeBuffer, this);
    printPanel_CMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.appkit.NSPrintPanel returnValue =
        (com.apple.jobjc.appkit.NSPrintPanel)
            (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }