Module DeadField
Import path
import semmle.code.java.deadcode.DeadFieldImports
| DeadCode | |
| JAXB | Definitions related to JAXB. |
| JacksonSerializability | Provides classes and predicates for working with Java Serialization in the context of the |
| Persistence | Provides classes and predicates for working with the JavaEE Persistence API. |
| java | Provides all default Java QL imports. |
Classes
| ClassReflectivelyReadField | A field that is reflectively read via a call to |
| DeadField | A field is dead if it is never read by a live callable and it is neither reflectively accessed, nor whitelisted. |
| JUnitAnnotatedField | A field with an annotation which implies that it will be read by |
| JacksonMixinReflextivelyReadField | A field that is used when applying Jackson mixins. |
| JacksonSerializableReflectivelyReadField | Consider all |
| JpaReadField | A field which is read by a JPA compatible Java persistence framework. |
| LiveField | A field is live if it is read by a live callable, accessed by an annotation on a live element, reflectively read, or whitelisted as read. |
| LiveJaxbBoundField | A field is read by the JAXB during serialization if it is a JAXB bound field, and if the containing class is considered “live”. |
| ReflectivelyReadField | A field that may be read reflectively. |
| SerialVersionUidField | A static, final, long field named |
| SourceField | A field that is from a source file. |
| WhitelistedLiveField | A field which is dead, but should be considered as live. |