Toggle navigation
Home
java.util.Map to com.google.common.collect.BiMap
No. of Instances - 6
No. of Commits - 4
No. of Projects - {'che', 'pinpoint', 'closure-compiler', 'java-driver'}
Hierarchy/Composition: T_SUPER_R
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Rename Variable
map
to
clonesByCurrent
map
to
clonesByCurrent
map
to
clonesByCurrent
map
to
clonesByCurrent
Update Anonymous class
{ @Override public void visit( Node n){ if (n.isRoot()) { verifyRoot(n); } else if (NodeUtil.isChangeScopeRoot(n)) { Node clone=map.get(n); if (clone == null) { verifyNewNode(passNameMsg,n); } else { verifyNodeChange(passNameMsg,n,clone); } } } }
to
{ @Override public void visit( Node n){ if (n.isRoot()) { verifyRoot(n); } else if (NodeUtil.isChangeScopeRoot(n)) { Node clone=clonesByCurrent.get(n); snapshotScopeNodes.remove(clone); verifyNode(passNameMsg,n); if (clone == null) { verifyNewNode(passNameMsg,n); } else { verifyNodeChange(passNameMsg,n,clone); } } } }