mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
8 lines
247 B
Plaintext
8 lines
247 B
Plaintext
import semmle.code.java.Expr
|
|
|
|
from StringLiteral lit, string isTextBlock
|
|
where
|
|
lit.getFile().(CompilationUnit).fromSource() and
|
|
if lit.isTextBlock() then isTextBlock = "text-block" else isTextBlock = ""
|
|
select lit, lit.getValue(), isTextBlock
|