static final class ConflictResolver.NodeInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
CHANGE_OPTIONAL |
(package private) static int |
CHANGE_SCOPE |
(package private) java.util.List<ConflictResolver.ConflictItem> |
children
The conflict items which are immediate children of the node, used to easily update those conflict items after
a new parent scope/optionality was encountered.
|
(package private) int |
derivedOptionalities
The set of derived optionalities the node was visited with, used to check whether an already seen node needs
to be revisited again in context of another optionality.
|
(package private) java.lang.Object |
derivedScopes
The set of derived scopes the node was visited with, used to check whether an already seen node needs to be
revisited again in context of another scope.
|
(package private) int |
minDepth
The smallest depth at which the node was seen, used for "the" depth of its conflict items.
|
private static int |
OPT_FALSE |
private static int |
OPT_TRUE |
Constructor and Description |
---|
NodeInfo(int depth,
java.lang.String derivedScope,
boolean optional) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(ConflictResolver.ConflictItem item) |
(package private) int |
update(int depth,
java.lang.String derivedScope,
boolean optional) |
int minDepth
java.lang.Object derivedScopes
String
and update to
Set<String>
if needed.int derivedOptionalities
java.util.List<ConflictResolver.ConflictItem> children
static final int CHANGE_SCOPE
static final int CHANGE_OPTIONAL
private static final int OPT_FALSE
private static final int OPT_TRUE
int update(int depth, java.lang.String derivedScope, boolean optional)
void add(ConflictResolver.ConflictItem item)