org.jetbrains.kotlin.resolve.calls.util
Class CallMaker

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.calls.util.CallMaker

public class CallMaker
extends java.lang.Object


Constructor Summary
CallMaker()
           
 
Method Summary
static Call makeArrayGetCall(ReceiverValue arrayAsReceiver, KtArrayAccessExpression arrayAccessExpression, Call.CallType callType)
           
static Call makeArraySetCall(ReceiverValue arrayAsReceiver, KtArrayAccessExpression arrayAccessExpression, KtExpression rightHandSide, Call.CallType callType)
           
static Call makeCall(KtElement callElement, Receiver explicitReceiver, com.intellij.lang.ASTNode callOperationNode, KtExpression calleeExpression, java.util.List<? extends ValueArgument> arguments)
           
static Call makeCall(KtElement callElement, Receiver explicitReceiver, com.intellij.lang.ASTNode callOperationNode, KtExpression calleeExpression, java.util.List<? extends ValueArgument> arguments, Call.CallType callType)
           
static Call makeCall(KtElement callElement, ReceiverValue explicitReceiver)
           
static Call makeCall(Receiver explicitReceiver, com.intellij.lang.ASTNode callOperationNode, KtCallElement callElement)
           
static Call makeCall(ReceiverValue leftAsReceiver, KtBinaryExpression expression)
           
static Call makeCall(ReceiverValue baseAsReceiver, KtUnaryExpression expression)
           
static Call makeCallWithExpressions(KtElement callElement, Receiver explicitReceiver, com.intellij.lang.ASTNode callOperationNode, KtExpression calleeExpression, java.util.List<KtExpression> argumentExpressions)
           
static Call makeCallWithExpressions(KtElement callElement, Receiver explicitReceiver, com.intellij.lang.ASTNode callOperationNode, KtExpression calleeExpression, java.util.List<KtExpression> argumentExpressions, Call.CallType callType)
           
static Call makeConstructorCallWithoutTypeArguments(KtCallElement callElement)
           
static ValueArgument makeExternalValueArgument(KtExpression expression)
           
static Call makePropertyCall(Receiver explicitReceiver, com.intellij.lang.ASTNode callOperationNode, KtSimpleNameExpression nameExpression)
           
static ValueArgument makeValueArgument(KtExpression expression)
           
static ValueArgument makeValueArgument(KtExpression expression, KtElement reportErrorsOn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallMaker

public CallMaker()
Method Detail

makeCallWithExpressions

@NotNull
public static Call makeCallWithExpressions(@NotNull
                                                   KtElement callElement,
                                                   @Nullable
                                                   Receiver explicitReceiver,
                                                   @Nullable
                                                   com.intellij.lang.ASTNode callOperationNode,
                                                   @NotNull
                                                   KtExpression calleeExpression,
                                                   @NotNull
                                                   java.util.List<KtExpression> argumentExpressions)

makeCallWithExpressions

@NotNull
public static Call makeCallWithExpressions(@NotNull
                                                   KtElement callElement,
                                                   @Nullable
                                                   Receiver explicitReceiver,
                                                   @Nullable
                                                   com.intellij.lang.ASTNode callOperationNode,
                                                   @NotNull
                                                   KtExpression calleeExpression,
                                                   @NotNull
                                                   java.util.List<KtExpression> argumentExpressions,
                                                   @NotNull
                                                   Call.CallType callType)

makeCall

@NotNull
public static Call makeCall(KtElement callElement,
                                    @Nullable
                                    Receiver explicitReceiver,
                                    @Nullable
                                    com.intellij.lang.ASTNode callOperationNode,
                                    KtExpression calleeExpression,
                                    java.util.List<? extends ValueArgument> arguments)

makeCall

@NotNull
public static Call makeCall(KtElement callElement,
                                    @Nullable
                                    Receiver explicitReceiver,
                                    @Nullable
                                    com.intellij.lang.ASTNode callOperationNode,
                                    KtExpression calleeExpression,
                                    java.util.List<? extends ValueArgument> arguments,
                                    Call.CallType callType)

makeCall

@NotNull
public static Call makeCall(@NotNull
                                    ReceiverValue leftAsReceiver,
                                    KtBinaryExpression expression)

makeCall

@NotNull
public static Call makeCall(@NotNull
                                    ReceiverValue baseAsReceiver,
                                    KtUnaryExpression expression)

makeArraySetCall

@NotNull
public static Call makeArraySetCall(@NotNull
                                            ReceiverValue arrayAsReceiver,
                                            @NotNull
                                            KtArrayAccessExpression arrayAccessExpression,
                                            @NotNull
                                            KtExpression rightHandSide,
                                            @NotNull
                                            Call.CallType callType)

makeArrayGetCall

@NotNull
public static Call makeArrayGetCall(@NotNull
                                            ReceiverValue arrayAsReceiver,
                                            @NotNull
                                            KtArrayAccessExpression arrayAccessExpression,
                                            @NotNull
                                            Call.CallType callType)

makeValueArgument

@NotNull
public static ValueArgument makeValueArgument(@NotNull
                                                      KtExpression expression)

makeValueArgument

@NotNull
public static ValueArgument makeValueArgument(@Nullable
                                                      KtExpression expression,
                                                      @NotNull
                                                      KtElement reportErrorsOn)

makeExternalValueArgument

@NotNull
public static ValueArgument makeExternalValueArgument(@NotNull
                                                              KtExpression expression)

makePropertyCall

@NotNull
public static Call makePropertyCall(@Nullable
                                            Receiver explicitReceiver,
                                            @Nullable
                                            com.intellij.lang.ASTNode callOperationNode,
                                            @NotNull
                                            KtSimpleNameExpression nameExpression)

makeConstructorCallWithoutTypeArguments

@NotNull
public static Call makeConstructorCallWithoutTypeArguments(@NotNull
                                                                   KtCallElement callElement)

makeCall

@NotNull
public static Call makeCall(@Nullable
                                    Receiver explicitReceiver,
                                    @Nullable
                                    com.intellij.lang.ASTNode callOperationNode,
                                    @NotNull
                                    KtCallElement callElement)

makeCall

@NotNull
public static Call makeCall(@NotNull
                                    KtElement callElement,
                                    @NotNull
                                    ReceiverValue explicitReceiver)