void (VirtualFile file) { if (file instanceof VirtualFileSystemEntry) { Method method = ReflectionUtil.getDeclaredMethod(VirtualFileSystemEntry.class, "markDirtyInternal"); if (method != null) { try { method.invoke(file); } catch (Exception ignore) { } } } }