FWClassInfo
@interface FWClassInfo : NSObject
Class信息
-
< class object
Declaration
Objective-C
@property (nonatomic, readonly) Class _Nonnull cls;
-
< super class object
Declaration
Objective-C
@property (nonatomic, readonly, nullable) Class superCls;
-
< class’s meta class object
Declaration
Objective-C
@property (nonatomic, readonly, nullable) Class metaCls;
-
< whether this class is meta class
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isMeta;
-
< class name
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull name;
-
< super class’s class info
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) FWClassInfo *superClassInfo;
-
< ivars
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDictionary<NSString *, FWClassIvarInfo *> *ivarInfos;
-
< methods
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDictionary<NSString *, FWClassMethodInfo *> *methodInfos;
-
< properties
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDictionary<NSString *, FWClassPropertyInfo *> *propertyInfos;
-
Undocumented
Declaration
Objective-C
- (void)setNeedUpdate;
-
Undocumented
Declaration
Objective-C
- (BOOL)needUpdate;
-
Undocumented
Declaration
Objective-C
+ (nullable instancetype)classInfoWithClass:(Class)cls;
-
Undocumented
Declaration
Objective-C
+ (nullable instancetype)classInfoWithClassName:(NSString *)className;