Files
codeql/java/ql/test/library-tests/literals/literals-numeric/negativeNumericLiterals.ql
Marcono1234 bb6e6f4808 Java: Split literals tests
This allows changing individual tests in the future without having to adjust
the expected output of all other tests.
2021-10-01 17:27:50 +02:00

10 lines
203 B
Plaintext

import java
from Literal l
where
l instanceof IntegerLiteral or
l instanceof LongLiteral or
l instanceof FloatingPointLiteral or
l instanceof DoubleLiteral
select l, l.getValue(), l.getParent()