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