boolean (VFileEvent e) { if (!(e instanceof VFilePropertyChangeEvent)) return false; String propertyName = ((VFilePropertyChangeEvent)e).getPropertyName(); return propertyName.equals(VirtualFile.PROP_NAME) || propertyName.equals(VirtualFile.PROP_ENCODING); }