set Possible Sub Types
abstract fun setPossibleSubTypes(possibleSubTypes: List<Type>, @NotNull root: @NotNull List<HasType>)
Set the node's possible subtypes. Listener circle detection works the same way as with setType
Parameters
possible Sub Types
the set of possible sub types
root
A list of already seen nodes which is used for detecting loops.