update to fix that

This commit is contained in:
2026-07-05 20:37:21 +02:00
parent 23af434504
commit 34c53b1097

View File

@@ -1464,6 +1464,10 @@ public abstract class AbstractCallGraphEngine implements CallGraphEngine {
} }
if (shouldExpand) { if (shouldExpand) {
boolean isAbstractOrInterface = td.isInterface() || Modifier.isAbstract(td.getModifiers());
if (!isAbstractOrInterface) {
allResolved.add(baseCalled);
}
for (String impl : impls) { for (String impl : impls) {
allResolved.add(impl + "." + methodName); allResolved.add(impl + "." + methodName);
} }