|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataFlowInfo
This interface is intended to provide and edit information about value nullabilities and possible types. Data flow info is immutable so functions never change it.
| Field Summary | |
|---|---|
static DataFlowInfo |
EMPTY
|
| Method Summary | |
|---|---|
DataFlowInfo |
and(DataFlowInfo other)
Call this function to add data flow information from other to this and return sum as the result |
DataFlowInfo |
assign(DataFlowValue a,
DataFlowValue b)
Call this function when b is assigned to a |
DataFlowInfo |
clearValueInfo(DataFlowValue value)
Call this function to clear all data flow information about the given data flow value. |
DataFlowInfo |
disequate(DataFlowValue a,
DataFlowValue b)
Call this function when it's known than a != b |
DataFlowInfo |
equate(DataFlowValue a,
DataFlowValue b)
Call this function when it's known than a == b |
DataFlowInfo |
establishSubtyping(DataFlowValue value,
JetType type)
|
java.util.Map<DataFlowValue,Nullability> |
getCompleteNullabilityInfo()
|
com.google.common.collect.SetMultimap<DataFlowValue,JetType> |
getCompleteTypeInfo()
|
Nullability |
getNullability(DataFlowValue key)
|
java.util.Set<JetType> |
getPossibleTypes(DataFlowValue key)
IMPORTANT: by default, the original (native) type for this value are NOT included. |
DataFlowInfo |
or(DataFlowInfo other)
Call this function to choose data flow information common for this and other and return it as the result |
| Field Detail |
|---|
static final DataFlowInfo EMPTY
| Method Detail |
|---|
@NotNull java.util.Map<DataFlowValue,Nullability> getCompleteNullabilityInfo()
@NotNull com.google.common.collect.SetMultimap<DataFlowValue,JetType> getCompleteTypeInfo()
@NotNull
Nullability getNullability(@NotNull
DataFlowValue key)
@NotNull
java.util.Set<JetType> getPossibleTypes(@NotNull
DataFlowValue key)
@NotNull
DataFlowInfo clearValueInfo(@NotNull
DataFlowValue value)
@NotNull
DataFlowInfo assign(@NotNull
DataFlowValue a,
@NotNull
DataFlowValue b)
@NotNull
DataFlowInfo equate(@NotNull
DataFlowValue a,
@NotNull
DataFlowValue b)
@NotNull
DataFlowInfo disequate(@NotNull
DataFlowValue a,
@NotNull
DataFlowValue b)
@NotNull
DataFlowInfo establishSubtyping(@NotNull
DataFlowValue value,
@NotNull
JetType type)
@NotNull
DataFlowInfo and(@NotNull
DataFlowInfo other)
@NotNull
DataFlowInfo or(@NotNull
DataFlowInfo other)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||