Fixes error in chained method call parsing for Spring.