Please methodnize this routine because VisitGetterNode may use same routine.