void (@NotNull PsiScopeProcessor.Event event, Object associated) { super.handleEvent(event, associated); if (JavaScopeProcessorEvent.isEnteringStaticScope(event, associated)) { if (myStaticScopeFlag != StaticScope.STATIC_NO_CONSTANTS) { myStaticScopeFlag = associated instanceof PsiClass && ((PsiClass)associated).getParent() instanceof PsiDeclarationStatement ? StaticScope.STATIC_NO_CONSTANTS : StaticScope.STATIC; } } else if (JavaScopeProcessorEvent.SET_CURRENT_FILE_CONTEXT.equals(event)) { myCurrentFileContext = (PsiElement)associated; } }