Files
codeql/java/ql/test/library-tests/literals/literals-numeric/negativeNumericLiterals.ql
Marcono1234 4e1a73f4d9 Java: Rename FloatingPointLiteral to FloatLiteral
"Floating point" refers to both `double` and `float`, and is also used by
the JLS in this way. Therefore the old CodeQL class name for `float` literals
was misleading.
2022-05-16 22:06:04 +02:00

10 lines
195 B
Plaintext

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