Java code transform at compile time

前端 未结 4 1889
太阳男子
太阳男子 2020-12-24 13:10

I would like to transform java source code at compile time just before passing the source code to the compiler. In other word I would like

4条回答
  •  不知归路
    2020-12-24 13:35

    If the C preprocessor would suffice, I did just manage to get it working with Eclipse in Windows. It only works on Juno though.

    https://stackoverflow.com/a/10497206/1137626

提交回复
热议问题