Fraunhofer-AISEC / cpg

A library to extract Code Property Graphs from C/C++, Java, Go, Python, Ruby and every other language through LLVM-IR.
https://fraunhofer-aisec.github.io/cpg/
Apache License 2.0
246 stars 59 forks source link

Fixing javaparser resultion error #1510

Closed konradweiss closed 1 month ago

konradweiss commented 1 month ago

When javaparser tries to resolve the type of this it failed in a case where it was used in an anomymouse inner class. In this case we now take the name of the current record from the scope manager.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
75.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud