org.jetbrains.kotlin.resolve.calls.smartcasts
Class DataFlowValueFactory

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowValueFactory

public class DataFlowValueFactory
extends java.lang.Object


Method Summary
static DataFlowValue createDataFlowValue(JetExpression expression, JetType type, BindingContext bindingContext)
           
static DataFlowValue createDataFlowValue(ReceiverValue receiverValue, BindingContext bindingContext)
           
static DataFlowValue createDataFlowValue(ThisReceiver receiver)
           
static DataFlowValue createDataFlowValue(VariableDescriptor variableDescriptor)
           
static boolean isStableVariable(VariableDescriptor variableDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDataFlowValue

@NotNull
public static DataFlowValue createDataFlowValue(@NotNull
                                                        JetExpression expression,
                                                        @NotNull
                                                        JetType type,
                                                        @NotNull
                                                        BindingContext bindingContext)

createDataFlowValue

@NotNull
public static DataFlowValue createDataFlowValue(@NotNull
                                                        ThisReceiver receiver)

createDataFlowValue

@NotNull
public static DataFlowValue createDataFlowValue(@NotNull
                                                        ReceiverValue receiverValue,
                                                        @NotNull
                                                        BindingContext bindingContext)

createDataFlowValue

@NotNull
public static DataFlowValue createDataFlowValue(@NotNull
                                                        VariableDescriptor variableDescriptor)

isStableVariable

public static boolean isStableVariable(@NotNull
                                       VariableDescriptor variableDescriptor)