Skip to content

Commit

Permalink
Generated for J2ObjC 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Oct 26, 2016
1 parent 253916e commit d7bd382
Show file tree
Hide file tree
Showing 126 changed files with 3,029 additions and 1,632 deletions.
4 changes: 4 additions & 0 deletions objc/generated/BaseIntercepting.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/interceptor/BaseIntercepting.java
//

#include "J2ObjC_header.h"

Expand Down
20 changes: 15 additions & 5 deletions objc/generated/BaseIntercepting.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/interceptor/BaseIntercepting.java
//

#include "BaseIntercepting.h"
#include "IOSClass.h"
Expand All @@ -15,14 +19,20 @@ - (NSString *)description {
}

+ (const J2ObjcClassInfo *)__metadata {
static const J2ObjcMethodInfo methods[] = {
{ "initWithInt:", "BaseIntercepting", NULL, 0x1, NULL, NULL },
{ "description", "toString", "Ljava.lang.String;", 0x1, NULL, NULL },
static J2ObjcMethodInfo methods[] = {
{ NULL, NULL, 0x1, -1, 0, -1, -1, -1, -1 },
{ NULL, "LNSString;", 0x1, 1, -1, -1, -1, -1, -1 },
};
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-multiple-method-names"
methods[0].selector = @selector(initWithInt:);
methods[1].selector = @selector(description);
#pragma clang diagnostic pop
static const J2ObjcFieldInfo fields[] = {
{ "id__", "id", 0x11, "I", NULL, NULL, .constantValue.asLong = 0 },
{ "id__", "I", .constantValue.asLong = 0, 0x11, 2, -1, -1, -1 },
};
static const J2ObjcClassInfo _BaseIntercepting = { 2, "BaseIntercepting", "houtbecke.rs.le.interceptor", NULL, 0x401, 2, methods, 1, fields, 0, NULL, 0, NULL, NULL, NULL };
static const void *ptrTable[] = { "I", "toString", "id" };
static const J2ObjcClassInfo _BaseIntercepting = { "BaseIntercepting", "houtbecke.rs.le.interceptor", ptrTable, methods, fields, 7, 0x401, 2, 1, -1, -1, -1, -1, -1 };
return &_BaseIntercepting;
}

Expand Down
4 changes: 4 additions & 0 deletions objc/generated/BleException.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/BleException.java
//

#include "J2ObjC_header.h"

Expand Down
18 changes: 14 additions & 4 deletions objc/generated/BleException.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/BleException.java
//

#include "BleException.h"
#include "J2ObjC_source.h"
Expand All @@ -17,11 +21,17 @@ - (instancetype)initWithNSString:(NSString *)message {
}

+ (const J2ObjcClassInfo *)__metadata {
static const J2ObjcMethodInfo methods[] = {
{ "initWithNSString:withJavaLangException:", "BleException", NULL, 0x1, NULL, NULL },
{ "initWithNSString:", "BleException", NULL, 0x1, NULL, NULL },
static J2ObjcMethodInfo methods[] = {
{ NULL, NULL, 0x1, -1, 0, -1, -1, -1, -1 },
{ NULL, NULL, 0x1, -1, 1, -1, -1, -1, -1 },
};
static const J2ObjcClassInfo _BleException = { 2, "BleException", "houtbecke.rs.le", NULL, 0x1, 2, methods, 0, NULL, 0, NULL, 0, NULL, NULL, NULL };
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-multiple-method-names"
methods[0].selector = @selector(initWithNSString:withJavaLangException:);
methods[1].selector = @selector(initWithNSString:);
#pragma clang diagnostic pop
static const void *ptrTable[] = { "LNSString;LJavaLangException;", "LNSString;" };
static const J2ObjcClassInfo _BleException = { "BleException", "houtbecke.rs.le", ptrTable, methods, NULL, 7, 0x1, 2, 0, -1, -1, -1, -1, -1 };
return &_BleException;
}

Expand Down
4 changes: 4 additions & 0 deletions objc/generated/CharacteristicsMockerObject.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/CharacteristicsMockerObject.java
//

#include "J2ObjC_header.h"

Expand Down
40 changes: 29 additions & 11 deletions objc/generated/CharacteristicsMockerObject.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/CharacteristicsMockerObject.java
//

#include "CharacteristicsMockerObject.h"
#include "IOSClass.h"
#include "IOSObjectArray.h"
#include "IOSPrimitiveArray.h"
#include "J2ObjC_source.h"
Expand Down Expand Up @@ -62,18 +67,31 @@ - (CharacteristicsMockerObject *)hasValuesWithByteArray2:(IOSObjectArray *)multi
}

+ (const J2ObjcClassInfo *)__metadata {
static const J2ObjcMethodInfo methods[] = {
{ "initWithSessionObject:withInt:", "CharacteristicsMockerObject", NULL, 0x1, NULL, NULL },
{ "mocksCharacteristic", NULL, "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x1, NULL, NULL },
{ "mocksCharacteristicWithJavaUtilUUID:", "mocksCharacteristic", "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x1, NULL, NULL },
{ "mocksCharacteristicWithNSString:", "mocksCharacteristic", "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x1, NULL, NULL },
{ "hasFixedValueWithIntArray:", "hasFixedValue", "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x81, NULL, NULL },
{ "hasFixedValueWithByteArray:", "hasFixedValue", "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x1, NULL, NULL },
{ "hasValueWithIntArray:", "hasValue", "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x81, NULL, NULL },
{ "hasValueWithByteArray:", "hasValue", "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x1, NULL, NULL },
{ "hasValuesWithByteArray2:", "hasValues", "Lhoutbecke.rs.le.session.CharacteristicsMockerObject;", 0x81, NULL, NULL },
static J2ObjcMethodInfo methods[] = {
{ NULL, NULL, 0x1, -1, 0, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x1, 1, 2, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x1, 1, 3, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x81, 4, 5, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x1, 4, 6, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x81, 7, 5, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x1, 7, 6, -1, -1, -1, -1 },
{ NULL, "LCharacteristicsMockerObject;", 0x81, 8, 9, -1, -1, -1, -1 },
};
static const J2ObjcClassInfo _CharacteristicsMockerObject = { 2, "CharacteristicsMockerObject", "houtbecke.rs.le.session", NULL, 0x1, 9, methods, 0, NULL, 0, NULL, 0, NULL, NULL, NULL };
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-multiple-method-names"
methods[0].selector = @selector(initWithSessionObject:withInt:);
methods[1].selector = @selector(mocksCharacteristic);
methods[2].selector = @selector(mocksCharacteristicWithJavaUtilUUID:);
methods[3].selector = @selector(mocksCharacteristicWithNSString:);
methods[4].selector = @selector(hasFixedValueWithIntArray:);
methods[5].selector = @selector(hasFixedValueWithByteArray:);
methods[6].selector = @selector(hasValueWithIntArray:);
methods[7].selector = @selector(hasValueWithByteArray:);
methods[8].selector = @selector(hasValuesWithByteArray2:);
#pragma clang diagnostic pop
static const void *ptrTable[] = { "LSessionObject;I", "mocksCharacteristic", "LJavaUtilUUID;", "LNSString;", "hasFixedValue", "[I", "[B", "hasValue", "hasValues", "[[B" };
static const J2ObjcClassInfo _CharacteristicsMockerObject = { "CharacteristicsMockerObject", "houtbecke.rs.le.session", ptrTable, methods, NULL, 7, 0x1, 9, 0, -1, -1, -1, -1, -1 };
return &_CharacteristicsMockerObject;
}

Expand Down
4 changes: 4 additions & 0 deletions objc/generated/DeviceMockerObject.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/DeviceMockerObject.java
//

#include "J2ObjC_header.h"

Expand Down
28 changes: 21 additions & 7 deletions objc/generated/DeviceMockerObject.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/DeviceMockerObject.java
//

#include "DeviceMockerObject.h"
#include "Event.h"
#include "EventSinkFiller.h"
#include "IOSClass.h"
#include "IOSObjectArray.h"
#include "IOSPrimitiveArray.h"
#include "J2ObjC_source.h"
Expand Down Expand Up @@ -47,14 +52,23 @@ - (DeviceMockerObject *)hasRemoteDevicesWithInt:(jint)rssi
}

+ (const J2ObjcClassInfo *)__metadata {
static const J2ObjcMethodInfo methods[] = {
{ "initWithSessionObject:withInt:", "DeviceMockerObject", NULL, 0x1, NULL, NULL },
{ "withFakeDeviceListeners", NULL, "Lhoutbecke.rs.le.session.DeviceMockerObject;", 0x1, NULL, NULL },
{ "hasRemoteDevicesWithIntArray:", "hasRemoteDevices", "Lhoutbecke.rs.le.session.DeviceMockerObject;", 0x81, NULL, NULL },
{ "hasRemoteDeviceWithByteArray:withInt:", "hasRemoteDevice", "Lhoutbecke.rs.le.session.DeviceMockerObject;", 0x1, NULL, NULL },
{ "hasRemoteDevicesWithInt:withByteArray:withIntArray:", "hasRemoteDevices", "Lhoutbecke.rs.le.session.DeviceMockerObject;", 0x81, NULL, NULL },
static J2ObjcMethodInfo methods[] = {
{ NULL, NULL, 0x1, -1, 0, -1, -1, -1, -1 },
{ NULL, "LDeviceMockerObject;", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "LDeviceMockerObject;", 0x81, 1, 2, -1, -1, -1, -1 },
{ NULL, "LDeviceMockerObject;", 0x1, 3, 4, -1, -1, -1, -1 },
{ NULL, "LDeviceMockerObject;", 0x81, 1, 5, -1, -1, -1, -1 },
};
static const J2ObjcClassInfo _DeviceMockerObject = { 2, "DeviceMockerObject", "houtbecke.rs.le.session", NULL, 0x1, 5, methods, 0, NULL, 0, NULL, 0, NULL, NULL, NULL };
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-multiple-method-names"
methods[0].selector = @selector(initWithSessionObject:withInt:);
methods[1].selector = @selector(withFakeDeviceListeners);
methods[2].selector = @selector(hasRemoteDevicesWithIntArray:);
methods[3].selector = @selector(hasRemoteDeviceWithByteArray:withInt:);
methods[4].selector = @selector(hasRemoteDevicesWithInt:withByteArray:withIntArray:);
#pragma clang diagnostic pop
static const void *ptrTable[] = { "LSessionObject;I", "hasRemoteDevices", "[I", "hasRemoteDevice", "[BI", "I[B[I" };
static const J2ObjcClassInfo _DeviceMockerObject = { "DeviceMockerObject", "houtbecke.rs.le.session", ptrTable, methods, NULL, 7, 0x1, 5, 0, -1, -1, -1, -1, -1 };
return &_DeviceMockerObject;
}

Expand Down
4 changes: 4 additions & 0 deletions objc/generated/DummyLeRemoteDevice.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/dummy/DummyLeRemoteDevice.java
//

#include "J2ObjC_header.h"

Expand Down
51 changes: 36 additions & 15 deletions objc/generated/DummyLeRemoteDevice.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/dummy/DummyLeRemoteDevice.java
//

#include "DummyLeRemoteDevice.h"
#include "IOSObjectArray.h"
Expand Down Expand Up @@ -56,22 +60,39 @@ - (instancetype)init {
J2OBJC_IGNORE_DESIGNATED_END

+ (const J2ObjcClassInfo *)__metadata {
static const J2ObjcMethodInfo methods[] = {
{ "addListenerWithLeRemoteDeviceListener:", "addListener", "V", 0x1, NULL, NULL },
{ "removeListenerWithLeRemoteDeviceListener:", "removeListener", "V", 0x1, NULL, NULL },
{ "getAddress", NULL, "Ljava.lang.String;", 0x1, NULL, NULL },
{ "connect", NULL, "V", 0x1, NULL, NULL },
{ "disconnect", NULL, "V", 0x1, NULL, NULL },
{ "close", NULL, "V", 0x1, NULL, NULL },
{ "startServicesDiscovery", NULL, "V", 0x1, NULL, NULL },
{ "startServicesDiscoveryWithJavaUtilUUIDArray:", "startServicesDiscovery", "V", 0x81, NULL, NULL },
{ "setCharacteristicWriteListenerWithLeCharacteristicWriteListener:withJavaUtilUUIDArray:", "setCharacteristicWriteListener", "V", 0x81, NULL, NULL },
{ "setCharacteristicListenerWithLeCharacteristicListener:withJavaUtilUUIDArray:", "setCharacteristicListener", "V", 0x81, NULL, NULL },
{ "getName", NULL, "Ljava.lang.String;", 0x1, NULL, NULL },
{ "readRssi", NULL, "V", 0x1, NULL, NULL },
{ "init", "DummyLeRemoteDevice", NULL, 0x1, NULL, NULL },
static J2ObjcMethodInfo methods[] = {
{ NULL, "V", 0x1, 0, 1, -1, -1, -1, -1 },
{ NULL, "V", 0x1, 2, 1, -1, -1, -1, -1 },
{ NULL, "LNSString;", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "V", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "V", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "V", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "V", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "V", 0x81, 3, 4, -1, -1, -1, -1 },
{ NULL, "V", 0x81, 5, 6, -1, -1, -1, -1 },
{ NULL, "V", 0x81, 7, 8, -1, -1, -1, -1 },
{ NULL, "LNSString;", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, "V", 0x1, -1, -1, -1, -1, -1, -1 },
{ NULL, NULL, 0x1, -1, -1, -1, -1, -1, -1 },
};
static const J2ObjcClassInfo _HoutbeckeRsLeDummyDummyLeRemoteDevice = { 2, "DummyLeRemoteDevice", "houtbecke.rs.le.dummy", NULL, 0x1, 13, methods, 0, NULL, 0, NULL, 0, NULL, NULL, NULL };
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-multiple-method-names"
methods[0].selector = @selector(addListenerWithLeRemoteDeviceListener:);
methods[1].selector = @selector(removeListenerWithLeRemoteDeviceListener:);
methods[2].selector = @selector(getAddress);
methods[3].selector = @selector(connect);
methods[4].selector = @selector(disconnect);
methods[5].selector = @selector(close);
methods[6].selector = @selector(startServicesDiscovery);
methods[7].selector = @selector(startServicesDiscoveryWithJavaUtilUUIDArray:);
methods[8].selector = @selector(setCharacteristicWriteListenerWithLeCharacteristicWriteListener:withJavaUtilUUIDArray:);
methods[9].selector = @selector(setCharacteristicListenerWithLeCharacteristicListener:withJavaUtilUUIDArray:);
methods[10].selector = @selector(getName);
methods[11].selector = @selector(readRssi);
methods[12].selector = @selector(init);
#pragma clang diagnostic pop
static const void *ptrTable[] = { "addListener", "LLeRemoteDeviceListener;", "removeListener", "startServicesDiscovery", "[LJavaUtilUUID;", "setCharacteristicWriteListener", "LLeCharacteristicWriteListener;[LJavaUtilUUID;", "setCharacteristicListener", "LLeCharacteristicListener;[LJavaUtilUUID;" };
static const J2ObjcClassInfo _HoutbeckeRsLeDummyDummyLeRemoteDevice = { "DummyLeRemoteDevice", "houtbecke.rs.le.dummy", ptrTable, methods, NULL, 7, 0x1, 13, 0, -1, -1, -1, -1, -1 };
return &_HoutbeckeRsLeDummyDummyLeRemoteDevice;
}

Expand Down
4 changes: 4 additions & 0 deletions objc/generated/Event.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/Event.java
//

#include "J2ObjC_header.h"

Expand Down
49 changes: 33 additions & 16 deletions objc/generated/Event.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/Event.java
//

#include "BaseIntercepting.h"
#include "Event.h"
Expand Down Expand Up @@ -84,25 +88,38 @@ - (void)dealloc {
}

+ (const J2ObjcClassInfo *)__metadata {
static const J2ObjcMethodInfo methods[] = {
{ "initWithEventType:withBaseIntercepting:withNSStringArray:", "Event", NULL, 0x81, NULL, NULL },
{ "initWithEventType:withInt:withBaseIntercepting:withNSStringArray:", "Event", NULL, 0x81, NULL, NULL },
{ "initWithEventType:withInt:withBoolean:", "Event", NULL, 0x1, NULL, NULL },
{ "initWithEventType:withInt:withInt:withBoolean:", "Event", NULL, 0x1, NULL, NULL },
{ "initWithEventType:withInt:withNSStringArray:", "Event", NULL, 0x81, NULL, NULL },
{ "initWithEventType:withInt:withInt:withNSStringArray:", "Event", NULL, 0x81, NULL, NULL },
{ "description", "toString", "Ljava.lang.String;", 0x1, NULL, NULL },
{ "isEqual:", "equals", "Z", 0x1, NULL, NULL },
{ "hash", "hashCode", "I", 0x1, NULL, NULL },
static J2ObjcMethodInfo methods[] = {
{ NULL, NULL, 0x81, -1, 0, -1, -1, -1, -1 },
{ NULL, NULL, 0x81, -1, 1, -1, -1, -1, -1 },
{ NULL, NULL, 0x1, -1, 2, -1, -1, -1, -1 },
{ NULL, NULL, 0x1, -1, 3, -1, -1, -1, -1 },
{ NULL, NULL, 0x81, -1, 4, -1, -1, -1, -1 },
{ NULL, NULL, 0x81, -1, 5, -1, -1, -1, -1 },
{ NULL, "LNSString;", 0x1, 6, -1, -1, -1, -1, -1 },
{ NULL, "Z", 0x1, 7, 8, -1, -1, -1, -1 },
{ NULL, "I", 0x1, 9, -1, -1, -1, -1, -1 },
};
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-multiple-method-names"
methods[0].selector = @selector(initWithEventType:withBaseIntercepting:withNSStringArray:);
methods[1].selector = @selector(initWithEventType:withInt:withBaseIntercepting:withNSStringArray:);
methods[2].selector = @selector(initWithEventType:withInt:withBoolean:);
methods[3].selector = @selector(initWithEventType:withInt:withInt:withBoolean:);
methods[4].selector = @selector(initWithEventType:withInt:withNSStringArray:);
methods[5].selector = @selector(initWithEventType:withInt:withInt:withNSStringArray:);
methods[6].selector = @selector(description);
methods[7].selector = @selector(isEqual:);
methods[8].selector = @selector(hash);
#pragma clang diagnostic pop
static const J2ObjcFieldInfo fields[] = {
{ "type_", NULL, 0x1, "Lhoutbecke.rs.le.session.EventType;", NULL, NULL, .constantValue.asLong = 0 },
{ "source_", NULL, 0x1, "I", NULL, NULL, .constantValue.asLong = 0 },
{ "delay_", NULL, 0x1, "I", NULL, NULL, .constantValue.asLong = 0 },
{ "timeStamp_", NULL, 0x1, "J", NULL, NULL, .constantValue.asLong = 0 },
{ "values_", NULL, 0x1, "[Ljava.lang.String;", NULL, NULL, .constantValue.asLong = 0 },
{ "type_", "LEventType;", .constantValue.asLong = 0, 0x1, -1, -1, -1, -1 },
{ "source_", "I", .constantValue.asLong = 0, 0x1, -1, -1, -1, -1 },
{ "delay_", "I", .constantValue.asLong = 0, 0x1, -1, -1, -1, -1 },
{ "timeStamp_", "J", .constantValue.asLong = 0, 0x1, -1, -1, -1, -1 },
{ "values_", "[LNSString;", .constantValue.asLong = 0, 0x1, -1, -1, -1, -1 },
};
static const J2ObjcClassInfo _Event = { 2, "Event", "houtbecke.rs.le.session", NULL, 0x1, 9, methods, 5, fields, 0, NULL, 0, NULL, NULL, NULL };
static const void *ptrTable[] = { "LEventType;LBaseIntercepting;[LNSString;", "LEventType;ILBaseIntercepting;[LNSString;", "LEventType;IZ", "LEventType;IIZ", "LEventType;I[LNSString;", "LEventType;II[LNSString;", "toString", "equals", "LNSObject;", "hashCode" };
static const J2ObjcClassInfo _Event = { "Event", "houtbecke.rs.le.session", ptrTable, methods, fields, 7, 0x1, 9, 5, -1, -1, -1, -1, -1 };
return &_Event;
}

Expand Down
6 changes: 5 additions & 1 deletion objc/generated/EventSink.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/EventSink.java
//

#include "J2ObjC_header.h"

Expand All @@ -15,7 +19,7 @@
@class Event;
@class IOSObjectArray;

@protocol EventSink < NSObject, JavaObject >
@protocol EventSink < JavaObject >

- (void)addEventWithEvent:(Event *)event;

Expand Down
18 changes: 14 additions & 4 deletions objc/generated/EventSink.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/gijsvanveen/projects/Tacx-unified/LeBlue/LeBlue-java/src/main/java/houtbecke/rs/le/session/EventSink.java
//

#include "EventSink.h"
#include "J2ObjC_source.h"
Expand All @@ -9,11 +13,17 @@ @interface EventSink : NSObject
@implementation EventSink

+ (const J2ObjcClassInfo *)__metadata {
static const J2ObjcMethodInfo methods[] = {
{ "addEventWithEvent:", "addEvent", "V", 0x401, NULL, NULL },
{ "getEvents", NULL, "[Lhoutbecke.rs.le.session.Event;", 0x401, NULL, NULL },
static J2ObjcMethodInfo methods[] = {
{ NULL, "V", 0x401, 0, 1, -1, -1, -1, -1 },
{ NULL, "[LEvent;", 0x401, -1, -1, -1, -1, -1, -1 },
};
static const J2ObjcClassInfo _EventSink = { 2, "EventSink", "houtbecke.rs.le.session", NULL, 0x609, 2, methods, 0, NULL, 0, NULL, 0, NULL, NULL, NULL };
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-multiple-method-names"
methods[0].selector = @selector(addEventWithEvent:);
methods[1].selector = @selector(getEvents);
#pragma clang diagnostic pop
static const void *ptrTable[] = { "addEvent", "LEvent;" };
static const J2ObjcClassInfo _EventSink = { "EventSink", "houtbecke.rs.le.session", ptrTable, methods, NULL, 7, 0x609, 2, 0, -1, -1, -1, -1, -1 };
return &_EventSink;
}

Expand Down
Loading

0 comments on commit d7bd382

Please sign in to comment.