Class VariationDiffAdapter<L extends Label>
java.lang.Object
com.github.gumtreediff.tree.AbstractTree
org.variantsync.diffdetective.gumtree.VariationTreeAdapter<L>
org.variantsync.diffdetective.gumtree.VariationDiffAdapter<L>
- All Implemented Interfaces:
com.github.gumtreediff.tree.Tree
Adapter for running Gumtree's matching algorithms on the projections of variation diffs.
This class is almost identical to
VariationTreeAdapter
except that it provides type safe
access to the projected DiffNode
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.gumtreediff.tree.AbstractTree
com.github.gumtreediff.tree.AbstractTree.EmptyEntryIterator
-
Field Summary
Fields inherited from class com.github.gumtreediff.tree.AbstractTree
children, metrics, parent
Fields inherited from interface com.github.gumtreediff.tree.Tree
NO_LABEL, NO_POS, urlPattern
-
Constructor Summary
ConstructorDescriptionVariationDiffAdapter
(DiffNode<L> node, Time time) VariationDiffAdapter
(Projection<L> node) -
Method Summary
Modifier and TypeMethodDescriptionprotected VariationTreeAdapter<L>
newInstance
(VariationNode<?, L> node) Methods inherited from class org.variantsync.diffdetective.gumtree.VariationTreeAdapter
deepCopy, getLabel, getLength, getMetadata, getMetadata, getPos, getType, getVariationNode, setLabel, setLength, setMetadata, setPos, setType
Methods inherited from class com.github.gumtreediff.tree.AbstractTree
addChild, getChildren, getMetrics, getParent, insertChild, setChildren, setMetrics, setParent, setParentAndUpdateChildren, toString, toTreeString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.gumtreediff.tree.Tree
breadthFirst, getChild, getChild, getChildPosition, getDescendants, getEndPos, getParents, getTreesBetweenPositions, hasLabel, hasSameType, hasSameTypeAndLabel, isIsomorphicTo, isIsoStructuralTo, isLeaf, isRoot, positionInParent, postOrder, preOrder, searchSubtree
-
Constructor Details
-
VariationDiffAdapter
-
VariationDiffAdapter
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classVariationTreeAdapter<L extends Label>
-
getDiffNode
-