working createunit macro, using java reflection
note about annotations