org.jetbrains.jet.lang.resolve.calls
Class CallResolverUtil

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.calls.CallResolverUtil

public class CallResolverUtil
extends java.lang.Object


Nested Class Summary
static class CallResolverUtil.ResolveArgumentsMode
           
 
Method Summary
static JetType getErasedReceiverType(ReceiverParameterDescriptor receiverParameterDescriptor, CallableDescriptor descriptor)
           
static boolean hasInferredReturnType(CallableDescriptor candidateDescriptor, ConstraintSystem constraintSystem)
           
static boolean hasUnknownFunctionParameter(JetType type)
           
static boolean hasUnknownReturnType(JetType type)
           
static boolean isInvokeCallOnExpressionWithBothReceivers(Call call)
           
static boolean isInvokeCallOnVariable(Call call)
           
static boolean isOrOverridesSynthesized(CallableMemberDescriptor descriptor)
           
static JetType replaceReturnTypeByUnknown(JetType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasUnknownFunctionParameter

public static boolean hasUnknownFunctionParameter(@NotNull
                                                  JetType type)

hasUnknownReturnType

public static boolean hasUnknownReturnType(@NotNull
                                           JetType type)

replaceReturnTypeByUnknown

public static JetType replaceReturnTypeByUnknown(@NotNull
                                                 JetType type)

hasInferredReturnType

public static boolean hasInferredReturnType(@NotNull
                                            CallableDescriptor candidateDescriptor,
                                            @NotNull
                                            ConstraintSystem constraintSystem)

getErasedReceiverType

@NotNull
public static JetType getErasedReceiverType(@NotNull
                                                    ReceiverParameterDescriptor receiverParameterDescriptor,
                                                    @NotNull
                                                    CallableDescriptor descriptor)

isOrOverridesSynthesized

public static boolean isOrOverridesSynthesized(@NotNull
                                               CallableMemberDescriptor descriptor)

isInvokeCallOnVariable

public static boolean isInvokeCallOnVariable(@NotNull
                                             Call call)

isInvokeCallOnExpressionWithBothReceivers

public static boolean isInvokeCallOnExpressionWithBothReceivers(@NotNull
                                                                Call call)