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

Method resolve

src/main/java/pascal/taie/ir/proginfo/MethodRef.java:178–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 }
177
178 @Override
179 public JMethod resolve() {
180 if (method == null) {
181 method = World.get().getClassHierarchy()
182 .resolveMethod(this);
183 if (method == null) {
184 throw new MethodResolutionFailedException(
185 "Cannot resolve " + this);
186 }
187 }
188 return method;
189 }
190
191 @Override
192 @Nullable

Callers 2

testResolveMethodMethod · 0.95

Calls 3

getMethod · 0.95
getClassHierarchyMethod · 0.80
resolveMethodMethod · 0.65

Tested by 1

testResolveMethodMethod · 0.76