org.jetbrains.jet.lang.resolve.calls.autocasts
Class AutoCastUtils

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.calls.autocasts.AutoCastUtils

public class AutoCastUtils
extends java.lang.Object


Method Summary
static java.util.List<ReceiverValue> getAutoCastVariants(BindingContext bindingContext, DataFlowInfo dataFlowInfo, ReceiverValue receiverToCast)
           
static void recordAutoCastIfNecessary(ReceiverValue receiver, BindingTrace trace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAutoCastVariants

public static java.util.List<ReceiverValue> getAutoCastVariants(@NotNull
                                                                BindingContext bindingContext,
                                                                @NotNull
                                                                DataFlowInfo dataFlowInfo,
                                                                @NotNull
                                                                ReceiverValue receiverToCast)
Returns:
variants @param receiverToCast may be cast to according to @param dataFlowInfo, @param receiverToCast itself is NOT included

recordAutoCastIfNecessary

public static void recordAutoCastIfNecessary(ReceiverValue receiver,
                                             @NotNull
                                             BindingTrace trace)