use of org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowInfo in project kotlin by JetBrains.
the class DataFlowInfoForArgumentsImpl method updateInfo.
@Override
public void updateInfo(@NotNull ValueArgument valueArgument, @NotNull DataFlowInfo dataFlowInfo) {
ValueArgument next = nextArgument == null ? null : nextArgument.get(valueArgument);
if (next != null) {
if (infoMap == null) {
infoMap = new HashMap<ValueArgument, DataFlowInfo>();
}
infoMap.put(next, dataFlowInfo);
return;
}
//TODO assert resultInfo == null
resultInfo = dataFlowInfo;
}
Aggregations