Files
codeql/java/ql/test/library-tests/compact-source-files/CompactSourceAnalysis.ql
2025-09-05 10:18:58 +02:00

10 lines
241 B
Plaintext

import java
from CompilationUnit cu, Class c
where
cu.isCompactSourceFile() and
c.getCompilationUnit() = cu and
c.isImplicit()
select cu, c,
"Compact source file '" + cu.getName() + "' contains implicit class '" + c.getName() + "'"