Module DeadEnumConstant

Import path

semmle.code.java.deadcode.DeadEnumConstant

Imports

JDKAnnotations

Provides classes that represent standard annotations from the JDK.

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.

Classes