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

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

public class DataFlowValueFactory
extends java.lang.Object


Field Summary
static DataFlowValueFactory INSTANCE
           
 
Method Summary
 DataFlowValue createDataFlowValue(JetExpression expression, JetType type, BindingContext bindingContext)
           
 DataFlowValue createDataFlowValue(ReceiverValue receiverValue, BindingContext bindingContext)
           
 DataFlowValue createDataFlowValue(ThisReceiver receiver)
           
 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
 

Field Detail

INSTANCE

public static final DataFlowValueFactory INSTANCE
Method Detail

createDataFlowValue

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

createDataFlowValue

@NotNull
public DataFlowValue createDataFlowValue(@NotNull
                                                 ThisReceiver receiver)

createDataFlowValue

@NotNull
public DataFlowValue createDataFlowValue(@NotNull
                                                 VariableDescriptor variableDescriptor)

createDataFlowValue

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

isStableVariable

public static boolean isStableVariable(@NotNull
                                       VariableDescriptor variableDescriptor)