Deprecated member is still used
Reports deprecated classes, methods, and fields that are used in your code nonetheless.
Example:
class MyCode {
@Deprecated
void oldMethod() {}// warning: "Deprecated member is still used"
void newMethod() {
oldMethod(); // forgotten usage
}
}
Usages within deprecated elements are ignored.
NOTE: Due to performance reasons, a non-private member is checked only when its name rarely occurs in the project.
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Java, 233.SNAPSHOT |
Last modified: 13 July 2023