@@ -245,7 +245,7 @@ public KotlinType checkType(
245
245
}
246
246
247
247
@ Nullable
248
- public SmartCastResult checkPossibleCast (
248
+ public static SmartCastResult checkPossibleCast (
249
249
@ NotNull KotlinType expressionType ,
250
250
@ NotNull KtExpression expression ,
251
251
@ NotNull ResolutionContext c
@@ -272,15 +272,15 @@ public KotlinType checkStatementType(@NotNull KtExpression expression, @NotNull
272
272
}
273
273
274
274
@ NotNull
275
- public KotlinTypeInfo illegalStatementType (@ NotNull KtExpression expression , @ NotNull ExpressionTypingContext context , @ NotNull ExpressionTypingInternals facade ) {
275
+ public static KotlinTypeInfo illegalStatementType (@ NotNull KtExpression expression , @ NotNull ExpressionTypingContext context , @ NotNull ExpressionTypingInternals facade ) {
276
276
facade .checkStatementType (
277
277
expression , context .replaceExpectedType (TypeUtils .NO_EXPECTED_TYPE ).replaceContextDependency (INDEPENDENT ));
278
278
context .trace .report (EXPRESSION_EXPECTED .on (expression , expression ));
279
279
return TypeInfoFactoryKt .noTypeInfo (context );
280
280
}
281
281
282
282
@ NotNull
283
- public Collection <KotlinType > getAllPossibleTypes (
283
+ public static Collection <KotlinType > getAllPossibleTypes (
284
284
@ NotNull KtExpression expression ,
285
285
@ NotNull DataFlowInfo dataFlowInfo ,
286
286
@ NotNull KotlinType type ,
0 commit comments