Java macros