We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 035f7b5 commit 99e19e6Copy full SHA for 99e19e6
java/ql/src/Telemetry/ExternalAPI.qll
@@ -28,9 +28,7 @@ class ExternalAPI extends Callable {
28
/**
29
* Gets the jar file containing this API. Normalizes the Java Runtime to "rt.jar" despite the presence of modules.
30
*/
31
- string jarContainer() {
32
- result = containerAsJar(any(ExternalAPI api).getCompilationUnit().getParentContainer*())
33
- }
+ string jarContainer() { result = containerAsJar(this.getCompilationUnit().getParentContainer*()) }
34
35
private string containerAsJar(Container container) {
36
if container instanceof JarFile then result = container.getBaseName() else result = "rt.jar"
0 commit comments