MCPcopy Create free account
hub / github.com/LFYSec/MScan / equals

Method equals

src/main/java/pascal/taie/analysis/graph/cfg/CFGEdge.java:149–161  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

147 }
148
149 @Override
150 public boolean equals(Object o) {
151 if (this == o) {
152 return true;
153 }
154 if (o == null || getClass() != o.getClass()) {
155 return false;
156 }
157 CFGEdge<?> edge = (CFGEdge<?>) o;
158 return kind == edge.kind &&
159 source.equals(edge.source) &&
160 target.equals(edge.target);
161 }
162
163 @Override
164 public int hashCode() {

Callers 1

getExistingEdgeMethod · 0.45

Calls 1

getClassMethod · 0.65

Tested by

no test coverage detected