Typescript Interface Static Method Java