@@ -1087,35 +1087,43 @@ class DerivedType extends Type, @derivedtype {
1087
1087
/**
1088
1088
* Holds if this type has the `__autoreleasing` specifier or if it points to
1089
1089
* a type with the `__autoreleasing` specifier.
1090
+ *
1091
+ * DEPRECATED: use `hasSpecifier` directly instead.
1090
1092
*/
1091
- predicate isAutoReleasing ( ) {
1093
+ deprecated predicate isAutoReleasing ( ) {
1092
1094
this .hasSpecifier ( "__autoreleasing" ) or
1093
1095
this .( PointerType ) .getBaseType ( ) .hasSpecifier ( "__autoreleasing" )
1094
1096
}
1095
1097
1096
1098
/**
1097
1099
* Holds if this type has the `__strong` specifier or if it points to
1098
1100
* a type with the `__strong` specifier.
1101
+ *
1102
+ * DEPRECATED: use `hasSpecifier` directly instead.
1099
1103
*/
1100
- predicate isStrong ( ) {
1104
+ deprecated predicate isStrong ( ) {
1101
1105
this .hasSpecifier ( "__strong" ) or
1102
1106
this .( PointerType ) .getBaseType ( ) .hasSpecifier ( "__strong" )
1103
1107
}
1104
1108
1105
1109
/**
1106
1110
* Holds if this type has the `__unsafe_unretained` specifier or if it points
1107
1111
* to a type with the `__unsafe_unretained` specifier.
1112
+ *
1113
+ * DEPRECATED: use `hasSpecifier` directly instead.
1108
1114
*/
1109
- predicate isUnsafeRetained ( ) {
1115
+ deprecated predicate isUnsafeRetained ( ) {
1110
1116
this .hasSpecifier ( "__unsafe_unretained" ) or
1111
1117
this .( PointerType ) .getBaseType ( ) .hasSpecifier ( "__unsafe_unretained" )
1112
1118
}
1113
1119
1114
1120
/**
1115
1121
* Holds if this type has the `__weak` specifier or if it points to
1116
1122
* a type with the `__weak` specifier.
1123
+ *
1124
+ * DEPRECATED: use `hasSpecifier` directly instead.
1117
1125
*/
1118
- predicate isWeak ( ) {
1126
+ deprecated predicate isWeak ( ) {
1119
1127
this .hasSpecifier ( "__weak" ) or
1120
1128
this .( PointerType ) .getBaseType ( ) .hasSpecifier ( "__weak" )
1121
1129
}
0 commit comments