public interface RebuildingContext
Modifier and Type | Method and Description |
---|---|
boolean |
containsUpdated(Node node)
Checks if the context contains already an updated version of the given node.
|
java.util.Map<Node,Node> |
getRebuildingMap()
Returns a map of instruction nodes to instruction nodes, which contains the nodes to be replaced as key and the
nodes which shall replace the old nodes as values.
|
<T extends Node> |
getUpdated(T node)
Returns resolved node of type T or null if is not yet resolved.
|
<T extends Node> |
getUpdatedOrSame(T node)
Returns updated or same(given) node from context.
|
<T extends Node> |
put(T oldNode,
T newNode)
Holds relation between old node and new node
|
<T extends Node> T getUpdatedOrSame(T node)
T
- the type of Node
node
- to be see if updated.<T extends Node> T getUpdated(T node)
T
- the type of Node
node
- to get the update fromboolean containsUpdated(Node node)
node
- the instruction node for which it shall be checked if an updated version exists for ittrue
if the context contains an updated version, false
if not.java.util.Map<Node,Node> getRebuildingMap()