Seeing a weird discrepency with edgecount here
This commit is contained in:
@@ -251,19 +251,15 @@ public class Rename2
|
|||||||
assert e.getFrom() == s;
|
assert e.getFrom() == s;
|
||||||
|
|
||||||
boolean b = false;
|
boolean b = false;
|
||||||
// if (e.toString().equals("Edge{from=Vertex{object=class97.<init>()V}, to=Vertex{object=I class97.field1653}, type=SETFIELD}"))
|
|
||||||
// {
|
|
||||||
// b = true;
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (e.getTo().getOther() != null)
|
if (e.getTo().getOther() != null)
|
||||||
continue; // skip solved edges
|
continue; // skip solved edges
|
||||||
|
|
||||||
Vertex v = e.getTo(); // end of edge in g1
|
Vertex v = e.getTo(); // end of edge in g1
|
||||||
if (v.toString().equals("Vertex{object=I class100.field1728}"))
|
// if (v.toString().equals("Vertex{object=static J class114.field1961}"))
|
||||||
{
|
// {
|
||||||
b = true;
|
// b = true;
|
||||||
}
|
// }
|
||||||
|
|
||||||
List<Vertex> l = new ArrayList<>();
|
List<Vertex> l = new ArrayList<>();
|
||||||
for (Edge e2 : other.getEdges())
|
for (Edge e2 : other.getEdges())
|
||||||
@@ -271,29 +267,27 @@ public class Rename2
|
|||||||
if (e2.getTo().getOther() != null)
|
if (e2.getTo().getOther() != null)
|
||||||
continue; // skip solved edges
|
continue; // skip solved edges
|
||||||
|
|
||||||
|
if (e.toString().equals("Edge{from=Vertex{object=class139.mousePressed(Ljava/awt/event/MouseEvent;)V}, to=Vertex{object=static J class114.field1961}, type=SETFIELD}")
|
||||||
|
&& e2.toString().equals("Edge{from=Vertex{object=class139.mousePressed(Ljava/awt/event/MouseEvent;)V}, to=Vertex{object=static J class114.field1962}, type=SETFIELD}"))
|
||||||
|
b = true;
|
||||||
|
|
||||||
|
if (b && e.getType() == EdgeType.SETFIELD && e2.getType() == EdgeType.SETFIELD)
|
||||||
|
{
|
||||||
|
//Edge{from=Vertex{object=class139.mousePressed(Ljava/awt/event/MouseEvent;)V}, to=Vertex{object=static J class114.field1961}, type=SETFIELD}
|
||||||
|
//Edge{from=Vertex{object=class139.mousePressed(Ljava/awt/event/MouseEvent;)V}, to=Vertex{object=static J class114.field1962}, type=SETFIELD}
|
||||||
|
int i = 5;
|
||||||
|
}
|
||||||
|
|
||||||
if (!e.getTo().couldBeEqual(e2.getTo()))
|
if (!e.getTo().couldBeEqual(e2.getTo()))
|
||||||
{
|
{
|
||||||
// System.out.println(e.getTo() + " != " + e2.getTo());
|
// System.out.println(e.getTo() + " != " + e2.getTo());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (b && e.getType() == EdgeType.SETFIELD && e2.getType() == EdgeType.SETFIELD)
|
|
||||||
{
|
|
||||||
int i = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!e.couldBeEqual(e2))
|
if (!e.couldBeEqual(e2))
|
||||||
{
|
{
|
||||||
//Edge{from=Vertex{object=class96.<init>(IIIIIIIIIIIIIIIIIII)V}, to=Vertex{object=I[] class96.field1630}, type=SETFIELD}
|
e.couldBeEqual(e2);
|
||||||
//Edge{from=Vertex{object=class96.<init>(IIIIIIIIIIIIIIIIIII)V}, to=Vertex{object=I[] class96.field1632}, type=GETFIELD}
|
|
||||||
|
|
||||||
//if (e.getTo().toString().equals("Vertex{object=I[] class96.field1630}") && e.getType() == EdgeType.SETFIELD
|
|
||||||
// && e2.getTo().toString().equals("Vertex{object=I[] class96.field1632}") && e2.getType() == EdgeType.SETFIELD)
|
|
||||||
{
|
|
||||||
e.couldBeEqual(e2);
|
|
||||||
}
|
|
||||||
|
|
||||||
// System.out.println(e + " != " + e2);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user