···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFDateCoercion : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFDefaultCoercions : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-extern const char* kOutOfMemoryError;
2323-extern const char* kClassNotFoundException;
2424-extern const char* kNullPointerException;
2525-extern const char* kIllegalAccessException;
2626-extern const char* kIllegalArgumentException;
2727-extern const char* kNoSuchFieldException;
2828-extern const char* kNoSuchMethodException;
2929-extern const char* kRuntimeException;
3030-3131-@interface JNFException : NSObject
3232-3333-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFInternalJavaClassToCoersionHolder : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFJObjectWrapper : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFListCoercion : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFMapCoercion : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFNumberCoercion : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-extern NSString* JNFRunLoopDidStartNotification;
2323-2424-@interface JNFRunLoop : NSObject
2525-2626-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFRunnable : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFRunnableWrapper : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFSetCoercion : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFStringCoercion : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFTypeCoercer : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@protocol JNFTypeCoercion
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#include <Foundation/Foundation.h>
2121-2222-@interface JNFWeakJObjectWrapper : NSObject
2323-2424-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFDateCoercion.h>
2121-2222-@implementation JNFDateCoercion
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFDefaultCoercions.h>
2121-2222-@implementation JNFDefaultCoercions
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFException.h>
2121-2222-// guessed values
2323-const char* kOutOfMemoryError = "kOutOfMemoryError";
2424-const char* kClassNotFoundException = "kClassNotFoundException";
2525-const char* kNullPointerException = "kNullPointerException";
2626-const char* kIllegalAccessException = "kIllegalAccessException";
2727-const char* kIllegalArgumentException = "kIllegalArgumentException";
2828-const char* kNoSuchFieldException = "kNoSuchFieldException";
2929-const char* kNoSuchMethodException = "kNoSuchMethodException";
3030-const char* kRuntimeException = "kRuntimeException";
3131-3232-@implementation JNFException
3333-3434-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
3535-{
3636- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
3737-}
3838-3939-- (void)forwardInvocation:(NSInvocation *)anInvocation
4040-{
4141- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
4242-}
4343-4444-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFInternalJavaClassToCoersionHolder.h>
2121-2222-@implementation JNFInternalJavaClassToCoersionHolder
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFJObjectWrapper.h>
2121-2222-@implementation JNFJObjectWrapper
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFListCoercion.h>
2121-2222-@implementation JNFListCoercion
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFMapCoercion.h>
2121-2222-@implementation JNFMapCoercion
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFNumberCoercion.h>
2121-2222-@implementation JNFNumberCoercion
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFRunLoop.h>
2121-2222-// guessed value
2323-NSString* JNFRunLoopDidStartNotification = @"JNFRunLoopDidStartNotification";
2424-2525-@implementation JNFRunLoop
2626-2727-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2828-{
2929- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
3030-}
3131-3232-- (void)forwardInvocation:(NSInvocation *)anInvocation
3333-{
3434- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3535-}
3636-3737-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFRunnable.h>
2121-2222-@implementation JNFRunnable
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFRunnableWrapper.h>
2121-2222-@implementation JNFRunnableWrapper
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFSetCoercion.h>
2121-2222-@implementation JNFSetCoercion
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFStringCoercion.h>
2121-2222-@implementation JNFStringCoercion
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFTypeCoercer.h>
2121-2222-@implementation JNFTypeCoercer
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end
···11-/*
22- This file is part of Darling.
33-44- Copyright (C) 2021 Lubos Dolezel
55-66- Darling is free software: you can redistribute it and/or modify
77- it under the terms of the GNU General Public License as published by
88- the Free Software Foundation, either version 3 of the License, or
99- (at your option) any later version.
1010-1111- Darling is distributed in the hope that it will be useful,
1212- but WITHOUT ANY WARRANTY; without even the implied warranty of
1313- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414- GNU General Public License for more details.
1515-1616- You should have received a copy of the GNU General Public License
1717- along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-#import <JavaNativeFoundation/JNFWeakJObjectWrapper.h>
2121-2222-@implementation JNFWeakJObjectWrapper
2323-2424-- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525-{
2626- return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727-}
2828-2929-- (void)forwardInvocation:(NSInvocation *)anInvocation
3030-{
3131- NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232-}
3333-3434-@end