The only thing to discourage it would be the better sense of the people in the community. Presumably there are better ways to stop Starbucks than throwing bricks. You have to convince enough people that the place needs to be shut down, then go in and confiscate the coffee beans.