@@ -150,47 +150,37 @@ object Scala3 with
150
150
151
151
given infoOps : (info : SymbolInformation ) with
152
152
153
- def isAbstract : Boolean =
154
- (info.properties & SymbolInformation .Property .ABSTRACT .value) != 0
155
-
156
- def isFinal : Boolean =
157
- (info.properties & SymbolInformation .Property .FINAL .value) != 0
158
-
159
- def isSealed : Boolean =
160
- (info.properties & SymbolInformation .Property .SEALED .value) != 0
161
-
162
- def isImplicit : Boolean =
163
- (info.properties & SymbolInformation .Property .IMPLICIT .value) != 0
164
-
165
- def isLazy : Boolean =
166
- (info.properties & SymbolInformation .Property .LAZY .value) != 0
167
-
168
- def isCase : Boolean =
169
- (info.properties & SymbolInformation .Property .CASE .value) != 0
170
-
171
- def isCovariant : Boolean =
172
- (info.properties & SymbolInformation .Property .COVARIANT .value) != 0
173
-
174
- def isContravariant : Boolean =
175
- (info.properties & SymbolInformation .Property .CONTRAVARIANT .value) != 0
176
-
177
- def isPrimary : Boolean =
178
- (info.properties & SymbolInformation .Property .PRIMARY .value) != 0
179
-
180
- def isVal : Boolean =
181
- (info.properties & SymbolInformation .Property .VAL .value) != 0
182
-
183
- def isVar : Boolean =
184
- (info.properties & SymbolInformation .Property .VAR .value) != 0
185
-
186
- def isStatic : Boolean =
187
- (info.properties & SymbolInformation .Property .STATIC .value) != 0
188
-
189
- def isEnum : Boolean =
190
- (info.properties & SymbolInformation .Property .ENUM .value) != 0
191
-
192
- def isDefault : Boolean =
193
- (info.properties & SymbolInformation .Property .DEFAULT .value) != 0
153
+ def isAbstract : Boolean = (info.properties & SymbolInformation .Property .ABSTRACT .value) != 0
154
+ def isFinal : Boolean = (info.properties & SymbolInformation .Property .FINAL .value) != 0
155
+ def isSealed : Boolean = (info.properties & SymbolInformation .Property .SEALED .value) != 0
156
+ def isImplicit : Boolean = (info.properties & SymbolInformation .Property .IMPLICIT .value) != 0
157
+ def isLazy : Boolean = (info.properties & SymbolInformation .Property .LAZY .value) != 0
158
+ def isCase : Boolean = (info.properties & SymbolInformation .Property .CASE .value) != 0
159
+ def isCovariant : Boolean = (info.properties & SymbolInformation .Property .COVARIANT .value) != 0
160
+ def isContravariant : Boolean = (info.properties & SymbolInformation .Property .CONTRAVARIANT .value) != 0
161
+ def isPrimary : Boolean = (info.properties & SymbolInformation .Property .PRIMARY .value) != 0
162
+ def isVal : Boolean = (info.properties & SymbolInformation .Property .VAL .value) != 0
163
+ def isVar : Boolean = (info.properties & SymbolInformation .Property .VAR .value) != 0
164
+ def isStatic : Boolean = (info.properties & SymbolInformation .Property .STATIC .value) != 0
165
+ def isEnum : Boolean = (info.properties & SymbolInformation .Property .ENUM .value) != 0
166
+ def isDefault : Boolean = (info.properties & SymbolInformation .Property .DEFAULT .value) != 0
167
+
168
+ def isUnknownKind : Boolean = info.kind.isUnknownKind
169
+ def isLocal : Boolean = info.kind.isLocal
170
+ def isField : Boolean = info.kind.isField
171
+ def isMethod : Boolean = info.kind.isMethod
172
+ def isConstructor : Boolean = info.kind.isConstructor
173
+ def isMacro : Boolean = info.kind.isMacro
174
+ def isType : Boolean = info.kind.isType
175
+ def isParameter : Boolean = info.kind.isParameter
176
+ def isSelfParameter : Boolean = info.kind.isSelfParameter
177
+ def isTypeParameter : Boolean = info.kind.isTypeParameter
178
+ def isObject : Boolean = info.kind.isObject
179
+ def isPackage : Boolean = info.kind.isPackage
180
+ def isPackageObject : Boolean = info.kind.isPackageObject
181
+ def isClass : Boolean = info.kind.isClass
182
+ def isTrait : Boolean = info.kind.isTrait
183
+ def isInterface : Boolean = info.kind.isInterface
194
184
195
185
end infoOps
196
186
0 commit comments