Ejemplo n.º 1
0
 @Nullable
 private JsExpression getCalleeExpression() {
   if (resolvedCall.getCandidateDescriptor() instanceof ExpressionAsFunctionDescriptor) {
     return Translation.translateAsExpression(getCallee(expression), context());
   }
   return null;
 }
Ejemplo n.º 2
0
 private CallExpressionTranslator(
     @NotNull JetCallExpression expression, @NotNull TranslationContext context) {
   super(context);
   this.expression = expression;
   this.resolvedCall = getResolvedCallForCallExpression(bindingContext(), expression);
   this.isNativeFunctionCall =
       AnnotationsUtils.isNativeObject(resolvedCall.getCandidateDescriptor());
 }