The choice of working with Java, which opens up a wide range of possibilities for programming, is well-founded. This is a typeset, high-level programming language created by Sun Microsystems, later ...
Now you just need an example that uses the Fabric8 API. I was able to sort of figure it out by looking at the blog post. The result looks fairly similar to my original example, so that helped, too.
Whitebox class provides a set of methods which could you help bypass encapsulation if it required. Usually, it's not a good idea to get/modify non-public fields, but sometimes it's only way to cover ...