- Enclosing class:
- Resolver
public static class Resolver.WriterUnion
extends Resolver.Action
In this case, the writer was a union. There are two subcases here:
If the reader and writer are the same union, then the unionEquiv
variable is set to true and the actions list holds the resolutions
of each branch of the writer against the corresponding branch of the reader
(which will result in no material resolution work, because the branches will
be equivalent). If they reader is not a union or is a different union, then
unionEquiv is false and the actions list holds the
resolution of each of the writer's branches against the entire schema of the
reader (if the reader is a union, that will result in ReaderUnion actions).