more fixes 4

This commit is contained in:
2026-06-20 12:31:11 +02:00
parent 56cdf96f2d
commit 9ca8b2fe37
3 changed files with 143 additions and 0 deletions

View File

@@ -828,6 +828,24 @@ public class CallGraphBuilder {
}
return super.visit(node);
}
@Override
public boolean visit(ConstructorInvocation node) {
for (Object argObj : node.arguments()) {
Expression arg = (Expression) argObj;
String val = constantResolver.resolve(arg, context);
if (val != null) {
if (val.startsWith("ENUM_SET:")) {
for (String eVal : val.substring(9).split(",")) {
results.add(eVal.substring(eVal.lastIndexOf('.') + 1));
}
} else {
results.add(val);
}
}
}
return super.visit(node);
}
@Override
public boolean visit(SuperConstructorInvocation node) {
for (Object argObj : node.arguments()) {