Module DeadEnumConstant
Import path
import semmle.code.java.deadcode.DeadEnumConstantImports
| java | Provides all default Java QL imports. |
Predicates
| exception | Exceptions to the “must have its value used” rule. |
| valueAccess | Gets an access to an enum constant, where the reference to the constant may be stored and used by the enclosing program rather than just being compared and discarded. |
| valueFlow | Direct flow of values (i.e. object references) through expressions. |