Organized continuation passing in Java