void (@NotNull List<? extends @NotNull VFileEvent> events) { for (VFileEvent event : events) { if (!event.isFromRefresh()) { continue; } String name; if (event instanceof VFileCreateEvent) { name = ((VFileCreateEvent)event).getChildName(); } else { VirtualFile file = event.getFile(); if (file == null) { continue; } name = file.getName(); } if (event.isFromRefresh() && ANNOTATIONS_XML.equals(name)) { dropAnnotationsCache(); notifyChangedExternally(); } } }