Typescript Interface Inheritance In Java