add springStaticFactoryMethod, and there're some bugs.