Replace java reflection with a macro-based solution by jchyb · Pull Request #4280 · scalameta/scalafmt

Necessary for cross compilation with Scala Native, since it does not offer any reflection functionalities. Instead of the previous method, we create a mapping between strings (pointed out by the di...