MethodNode parse method refactoring