Anybody know if in Java there´s something like Scala macro to interact with the javac in compilation time. Reflection it´s quite powerful, but only works on runtime.
Asked
Active
Viewed 135 times
0
paul
- 11,696
- 19
- 81
- 134
-
2A quick search on Google comes up with a definitive *NO*. Did your search fail? – Bob Dalgleish Oct 13 '17 at 23:34
-
I did not find anything. But it's hard to believe that java don't offer a similar feature being so powerful to create DSLs – paul Oct 14 '17 at 07:26
1 Answers
3
In Java there are no macros like in Scala but there is kind of macros like in C++.
Dmytro Mitin
- 37,305
- 2
- 20
- 53