29
29
@class InterfacesWithParam;
30
30
31
31
@protocol InterfacesError <NSObject>
32
- - (BOOL)err:(NSError* _Nullable*)error;
32
+ - (BOOL)err:(NSError* _Nullable* _Nullable )error;
33
33
@end
34
34
35
35
@protocol InterfacesI <NSObject>
41
41
*/
42
42
@interface InterfacesI1 : NSObject <goSeqRefInterface> {
43
43
}
44
- @property(strong, readonly) id _ref;
44
+ @property(strong, readonly) _Nonnull id _ref;
45
45
46
- - (instancetype)initWithRef:(id)ref;
46
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
47
47
- (void)j;
48
48
@end
49
49
52
52
*/
53
53
@interface InterfacesI2 : NSObject <goSeqRefInterface> {
54
54
}
55
- @property(strong, readonly) id _ref;
55
+ @property(strong, readonly) _Nonnull id _ref;
56
56
57
- - (instancetype)initWithRef:(id)ref;
57
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
58
58
- (void)g;
59
59
@end
60
60
81
81
82
82
FOUNDATION_EXPORT int32_t InterfacesAdd3(id<InterfacesI> _Nullable r);
83
83
84
- FOUNDATION_EXPORT BOOL InterfacesCallErr(id<InterfacesError> _Nullable e, NSError* _Nullable* error);
84
+ FOUNDATION_EXPORT BOOL InterfacesCallErr(id<InterfacesError> _Nullable e, NSError* _Nullable* _Nullable error);
85
85
86
86
FOUNDATION_EXPORT id<InterfacesI> _Nullable InterfacesSeven(void);
87
87
@@ -101,17 +101,17 @@ FOUNDATION_EXPORT id<InterfacesI> _Nullable InterfacesSeven(void);
101
101
102
102
@interface InterfacesError : NSObject <goSeqRefInterface, InterfacesError> {
103
103
}
104
- @property(strong, readonly) id _ref;
104
+ @property(strong, readonly) _Nonnull id _ref;
105
105
106
- - (instancetype)initWithRef:(id)ref;
107
- - (BOOL)err:(NSError* _Nullable*)error;
106
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
107
+ - (BOOL)err:(NSError* _Nullable* _Nullable )error;
108
108
@end
109
109
110
110
@interface InterfacesI : NSObject <goSeqRefInterface, InterfacesI> {
111
111
}
112
- @property(strong, readonly) id _ref;
112
+ @property(strong, readonly) _Nonnull id _ref;
113
113
114
- - (instancetype)initWithRef:(id)ref;
114
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
115
115
- (int32_t)rand;
116
116
@end
117
117
@@ -121,9 +121,9 @@ FOUNDATION_EXPORT id<InterfacesI> _Nullable InterfacesSeven(void);
121
121
*/
122
122
@interface InterfacesI3 : NSObject <goSeqRefInterface, InterfacesI3> {
123
123
}
124
- @property(strong, readonly) id _ref;
124
+ @property(strong, readonly) _Nonnull id _ref;
125
125
126
- - (instancetype)initWithRef:(id)ref;
126
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
127
127
- (InterfacesI1* _Nullable)f;
128
128
@end
129
129
@@ -132,34 +132,34 @@ FOUNDATION_EXPORT id<InterfacesI> _Nullable InterfacesSeven(void);
132
132
*/
133
133
@interface InterfacesInterfaces : NSObject <goSeqRefInterface, InterfacesInterfaces> {
134
134
}
135
- @property(strong, readonly) id _ref;
135
+ @property(strong, readonly) _Nonnull id _ref;
136
136
137
- - (instancetype)initWithRef:(id)ref;
137
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
138
138
- (void)someMethod;
139
139
@end
140
140
141
141
@interface InterfacesLargerI : NSObject <goSeqRefInterface, InterfacesLargerI> {
142
142
}
143
- @property(strong, readonly) id _ref;
143
+ @property(strong, readonly) _Nonnull id _ref;
144
144
145
- - (instancetype)initWithRef:(id)ref;
145
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
146
146
- (void)anotherFunc;
147
147
- (int32_t)rand;
148
148
@end
149
149
150
150
@interface InterfacesSameI : NSObject <goSeqRefInterface, InterfacesSameI> {
151
151
}
152
- @property(strong, readonly) id _ref;
152
+ @property(strong, readonly) _Nonnull id _ref;
153
153
154
- - (instancetype)initWithRef:(id)ref;
154
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
155
155
- (int32_t)rand;
156
156
@end
157
157
158
158
@interface InterfacesWithParam : NSObject <goSeqRefInterface, InterfacesWithParam> {
159
159
}
160
- @property(strong, readonly) id _ref;
160
+ @property(strong, readonly) _Nonnull id _ref;
161
161
162
- - (instancetype)initWithRef:(id)ref;
162
+ - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
163
163
- (void)hasParam:(BOOL)p0;
164
164
@end
165
165
0 commit comments