boolean (@NotNull Accessor accessor, @NotNull Object bean) { // only these fields due to backward compatibility return switch (accessor.getName()) { case "passParentEnvs" -> !mySettings.isPassParentEnvs(); case "env" -> !mySettings.getEnv().isEmpty(); default -> true; }; }