Update StaticFactoryMethod.java