The wizarding community has been forced underground due to intolerance that channels "X-Men."
It’s the same logical flaw that operates in both the “Avengers” and “X-Men” franchises, and Rowling doesn’t have much to add to the “Potter” franchise … yet.
In the wake of several violent attacks on New York, causing all manner of social, political and architectural upheaval, the movie makes the compelling argument that the willful repression of one’s supernatural abilities can lead only to destruction and chaos — a point that harks back to Bryan Singer ’s “X-Men” movies, with their resonant subtext equating mutant powers with homosexuality.
That hatred toward those who possess unique powers (something highlighted in the film's opening that features related newspaper headlines that, as in the "Potter" films, come along with animated panels) and the need for those to lead secret lives also gives the flick something of an "X-Men" vibe, particularly when Farrell's character shows displeasure toward regular folk getting more regard than wizards.
As with mutants in the X-Men movies , there’s a Civil Rights-era difference of opinion between leaders in the minority community with peaceful visions, like Professor X and Martin Luther King Jr., and those with more violent visions, like Magneto and Malcolm X.
There are scenes, typically the most destructive ones, that could be plopped into any old "X-Men" movie.