Typescript Class Static Method In Oops In Java