Query module DeadRefTypes

name
Unused classes and interfaces
description
A non-public class or interface that is not used anywhere in the program wastes programmer resources.
kind
problem
problem.severity
recommendation
precision
high
id
java/unused-reference-type
tags
maintainability useless-code external/cwe/cwe-561

Imports

Reflection

Provides classes and predicates for working with Java Reflection.

java

Provides all default Java QL imports.

Predicates

dead

A class or interface that is not used anywhere.