public void visitMethodCallExpression ( MethodCallExpression call ) { boolean shouldContinueWalking = true ; if ( isBuildInvocation ( call ) ) { shouldContinueWalking = handleTargetMethodCallExpression ( call ) ; } if ( shouldContinueWalking ) { // continue normal tree walking call . getObjectExpression ( ) . visit ( this ) ; call . getMethod ( ) . visit ( this ) ; call . getArguments ( ) . visit ( this ) ; } }
Attempts to find AstBuilder from code invocations . When found converts them into calls to the from string approach .