use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct MXCrashDiagnosticObjectiveCExceptionReason;
unsafe impl ClassType for MXCrashDiagnosticObjectiveCExceptionReason {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for MXCrashDiagnosticObjectiveCExceptionReason {}
unsafe impl NSObjectProtocol for MXCrashDiagnosticObjectiveCExceptionReason {}
unsafe impl NSSecureCoding for MXCrashDiagnosticObjectiveCExceptionReason {}
extern_methods!(
unsafe impl MXCrashDiagnosticObjectiveCExceptionReason {
#[method_id(@__retain_semantics Other composedMessage)]
pub unsafe fn composedMessage(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other formatString)]
pub unsafe fn formatString(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other arguments)]
pub unsafe fn arguments(&self) -> Id<NSArray<NSString>>;
#[method_id(@__retain_semantics Other exceptionType)]
pub unsafe fn exceptionType(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other className)]
pub unsafe fn className(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other exceptionName)]
pub unsafe fn exceptionName(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other JSONRepresentation)]
pub unsafe fn JSONRepresentation(&self) -> Id<NSData>;
#[method_id(@__retain_semantics Other dictionaryRepresentation)]
pub unsafe fn dictionaryRepresentation(&self) -> Id<NSDictionary>;
}
);
extern_methods!(
unsafe impl MXCrashDiagnosticObjectiveCExceptionReason {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);