// Note: Not guaranteed to work by Java VM spec static S currentFunctionName() { ret new Throwable().getStackTrace()[1].getMethodName(); }