call static method on java class