Files
codeql/java/ql/test/library-tests/ValueDiscardingExpr/options
Marcono1234 36f56b5a18 Java: Rename StmtExpr to ValueDiscardingExpr
As mentioned by aschackmull during review, StatementExpression as defined
by the JLS only lists possible types of expressions, it does _not_ specify
that their value is discarded. Therefore, for example any method call could
be considered a StatementExpression.

The name ValueDiscardingExpr was chosen as replacement because the JLS uses
the phrase "if the expression has a value, the value is discarded" multiple
times.
2022-05-09 00:27:15 +02:00

1 line
62 B
Plaintext

//semmle-extractor-options: --javac-args -source 14 -target 14