@@ -369,8 +369,11 @@ public class NonObjCClass { }
369
369
// CHECK-NEXT: @property (nonatomic, readonly, strong) Properties * _Nonnull mySelf;
370
370
// CHECK-NEXT: @property (nonatomic, readonly) double pi;
371
371
// CHECK-NEXT: @property (nonatomic) NSInteger computed;
372
- // CHECK-NEXT: @property (nonatomic, class, strong) Properties * _Nonnull shared;
373
- // CHECK-NEXT: @property (nonatomic, class, readonly, strong) Properties * _Nonnull sharedRO;
372
+ // CHECK-NEXT: SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) Properties * _Nonnull shared;)
373
+ // CHECK-NEXT: + (Properties * _Nonnull)shared;
374
+ // CHECK-NEXT: + (void)setShared:(Properties * _Nonnull)newValue;
375
+ // CHECK-NEXT: SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Properties * _Nonnull sharedRO;)
376
+ // CHECK-NEXT: + (Properties * _Nonnull)sharedRO;
374
377
// CHECK-NEXT: @property (nonatomic, weak) Properties * _Nullable weakOther;
375
378
// CHECK-NEXT: @property (nonatomic, assign) Properties * _Nonnull unownedOther;
376
379
// CHECK-NEXT: @property (nonatomic, unsafe_unretained) Properties * _Nonnull unmanagedOther;
@@ -399,9 +402,13 @@ public class NonObjCClass { }
399
402
// CHECK-NEXT: @property (nonatomic, copy) IBOutletCollection(CustomName) NSArray<CustomName *> * _Nullable outletCollectionOptional;
400
403
// CHECK-NEXT: @property (nonatomic, copy) IBOutletCollection(id) NSArray * _Nullable outletCollectionAnyObject;
401
404
// CHECK-NEXT: @property (nonatomic, copy) IBOutletCollection(id) NSArray<id <NSObject>> * _Nullable outletCollectionProto;
402
- // CHECK-NEXT: @property (nonatomic, class, readonly) NSInteger staticInt;
403
- // CHECK-NEXT: @property (nonatomic, class, copy) NSString * _Nonnull staticString;
404
- // CHECK-NEXT: @property (nonatomic, class, readonly) double staticDouble;
405
+ // CHECK-NEXT: SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger staticInt;)
406
+ // CHECK-NEXT: + (NSInteger)staticInt;
407
+ // CHECK-NEXT: SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nonnull staticString;)
408
+ // CHECK-NEXT: + (NSString * _Nonnull)staticString;
409
+ // CHECK-NEXT: + (void)setStaticString:(NSString * _Nonnull)value;
410
+ // CHECK-NEXT: SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) double staticDouble;)
411
+ // CHECK-NEXT: + (double)staticDouble;
405
412
// CHECK-NEXT: @property (nonatomic, strong) Properties * _Nullable wobble;
406
413
// CHECK-NEXT: @property (nonatomic, getter=isEnabled, setter=setIsEnabled:) BOOL enabled;
407
414
// CHECK-NEXT: @property (nonatomic, getter=isAnimated) BOOL animated;
0 commit comments