Fix reporting missing static field if containing class is never referenced directly

This commit is contained in:
Alexey Andreev 2022-03-25 10:27:15 +03:00
parent 393ab3b09e
commit 5e37e2a45b

View File

@ -141,7 +141,7 @@ public class MissingItemsProcessor {
private boolean checkClass(TextLocation location, String className) {
if (!reachableClasses.contains(className)) {
return false;
return true;
}
if (!dependencyInfo.getClass(className).isMissing()) {