I know this is a long shot, but I do wish I can have a JVM language that supports predefined contants at compiling stage like GCC does.
Constants like FILE, LINE and FUNCTION are valuable for logging and tracing purposes. It’s silly that we have to create an exception and interpret the stacktraces to get such things (Guice, Log4j etc). The runtime overhead is too much for such a trivial task both on JVM and Dalvik VM.