Added getMethodAST. Fixed the problem with uninitialized variable.
Changed declarations in statement and expression to statementDeclaration
and expressionDeclaration.