예제 #1
0
 @NotNull
 protected static ExpressionReceiver safeGetExpressionReceiver(
     @NotNull ExpressionTypingFacade facade,
     @NotNull JetExpression expression,
     ExpressionTypingContext context) {
   return new ExpressionReceiver(expression, facade.safeGetType(expression, context));
 }
예제 #2
0
 @Nullable
 protected static ExpressionReceiver getExpressionReceiver(
     @NotNull ExpressionTypingFacade facade,
     @NotNull JetExpression expression,
     ExpressionTypingContext context) {
   return getExpressionReceiver(expression, facade.getType(expression, context));
 }