예제 #1
0
  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 initWithString_locale(
      final com.apple.jobjc.foundation.NSString numberValue, final com.apple.jobjc.ID locale) {
    final com.apple.jobjc.Invoke.MsgSend initWithString_locale_IMetInst =
        get_initWithString_locale_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    initWithString_locale_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, numberValue);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, locale);
    initWithString_locale_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }
예제 #3
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;
  }
  public com.apple.jobjc.foundation.NSDecimalNumber decimalNumberByAdding_withBehavior(
      final com.apple.jobjc.foundation.NSDecimalNumber decimalNumber,
      final com.apple.jobjc.ID behavior) {
    final com.apple.jobjc.Invoke.MsgSend decimalNumberByAdding_withBehavior_IMetInst =
        get_decimalNumberByAdding_withBehavior_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    decimalNumberByAdding_withBehavior_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, decimalNumber);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, behavior);
    decimalNumberByAdding_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;
  }
예제 #5
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);
  }
예제 #6
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);
  }
예제 #7
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);
  }
예제 #8
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);
  }
예제 #9
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);
  }
예제 #10
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);
  }
예제 #11
0
  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);
  }
예제 #12
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);
  }
예제 #13
0
  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);
  }
예제 #14
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;
  }
예제 #15
0
  public boolean writeData(final com.apple.jobjc.foundation.NSData data) {
    final com.apple.jobjc.Invoke.MsgSend writeData_IMetInst = get_writeData_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    writeData_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, data);
    writeData_IMetInst.invoke(nativeBuffer);
    final boolean returnValue =
        (boolean) (com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.popBoolean(nativeBuffer));
    return returnValue;
  }
예제 #16
0
  public long compare(final com.apple.jobjc.foundation.NSNumber decimalNumber) {
    final com.apple.jobjc.Invoke.MsgSend compare_IMetInst = get_compare_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    compare_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, decimalNumber);
    compare_IMetInst.invoke(nativeBuffer);
    final long returnValue =
        (long) (com.apple.jobjc.MixedPrimitiveCoder.SIntSLongLongCoder.popLong(nativeBuffer));
    return returnValue;
  }
예제 #17
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);
  }
예제 #18
0
  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;
  }
예제 #19
0
  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;
  }
예제 #20
0
  public long indexOfItemWithObjectValue(final com.apple.jobjc.ID object) {
    final com.apple.jobjc.Invoke.MsgSend indexOfItemWithObjectValue_IMetInst =
        get_indexOfItemWithObjectValue_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    indexOfItemWithObjectValue_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, object);
    indexOfItemWithObjectValue_IMetInst.invoke(nativeBuffer);
    final long returnValue =
        (long) (com.apple.jobjc.MixedPrimitiveCoder.SIntSLongLongCoder.popLong(nativeBuffer));
    return returnValue;
  }
  public <T extends com.apple.jobjc.ID> T initWithHost_port_protocol_realm_authenticationMethod(
      final com.apple.jobjc.foundation.NSString host,
      final long port,
      final com.apple.jobjc.foundation.NSString protocol,
      final com.apple.jobjc.foundation.NSString realm,
      final com.apple.jobjc.foundation.NSString authenticationMethod) {
    final com.apple.jobjc.Invoke.MsgSend
        initWithHost_port_protocol_realm_authenticationMethod_IMetInst =
            get_initWithHost_port_protocol_realm_authenticationMethod_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    initWithHost_port_protocol_realm_authenticationMethod_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, host);
    com.apple.jobjc.MixedPrimitiveCoder.SIntSLongLongCoder.push(nativeBuffer, port);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, protocol);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, realm);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, authenticationMethod);
    initWithHost_port_protocol_realm_authenticationMethod_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }
예제 #22
0
  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;
  }
예제 #23
0
  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;
  }
예제 #24
0
  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;
  }
예제 #25
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;
  }
예제 #26
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;
  }
예제 #27
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;
  }