CodeQL library for Java
codeql/java-all 0.4.4 (changelog, source)
Search

Predicate exception

Exceptions to the “must have its value used” rule.

Import path

import semmle.code.java.deadcode.DeadEnumConstant
predicate exception(EnumConstant e)