Due to the use of Generics in Java I ended up in having to implement a function having Void as return type:
Void
public Void doSomething() { //..
return null is the way to go.
return null