logging for EA-91296 - NPE: UnusedDeclarationInspectionBase$.visitElement

This commit is contained in:
Anna.Kozlova
2016-11-10 10:52:14 +01:00
parent a3e003a945
commit 5705682982
@@ -453,6 +453,7 @@ public class UnusedDeclarationInspectionBase extends GlobalInspectionTool {
final RefFilter filter = myPhase == 1 ? new StrictUnreferencedFilter(this, globalContext) :
new RefUnreachableFilter(this, globalContext);
final boolean[] requestAdded = {false};
LOG.assertTrue(myProcessedSuspicious != null, "phase: " + myPhase);
globalContext.getRefManager().iterate(new RefJavaVisitor() {
@Override