boolean (VirtualFile file) { String name = FileUtilRt.getNameWithoutExtension(file.getName()); if (name.endsWith(getExtension()) && !name.endsWith(HIGH_DPI_DARK.getExtension())) { return true; } VirtualFile parent = file.getParent(); if (parent != null && parent.findChild(name + "_dark.png") != null) { return false; } return WHITE.accepts(file); }