fix #861
Merge pull request #862 from bronze1man/pr-861

fix #861NullPointerException in visitMethodDeclaration