Is it possible to specify a method which returns a object that implements two or multiple interfaces?
Say we have the following interfaces:
interface Foo
interface FooBar extends Foo, Bar { FooBar getFooBar(); }