FWClassMethodInfo


@interface FWClassMethodInfo : NSObject

Method 信息

  • < method opaque struct

    Declaration

    Objective-C

    @property (nonatomic, readonly) Method _Nonnull method;
  • < method name

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull name;
  • sel

    < method’s selector

    Declaration

    Objective-C

    @property (nonatomic, readonly) SEL _Nonnull sel;
  • imp

    < method’s implementation

    Declaration

    Objective-C

    @property (nonatomic, readonly) IMP _Nonnull imp;
  • < method’s parameter and return types

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull typeEncoding;
  • < return value’s type

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull returnTypeEncoding;
  • < array of arguments’ type

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSArray<NSString *> *argumentTypeEncodings;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithMethod:(Method)method;