CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (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)