refactor  methodsInfo method and test.
git ignore file
pom.xml