newclay.analysis: refactor capture code used by switch/static for
newclay.analysis: refactor capture code used by switch/static for
iamrekcah/clay,jckarter/clay,mario-campos/clay,aep/clay,mario-campos/clay,mario-campos/clay,iamrekcah/clay,mario-campos/clay,mario-campos/clay,iamrekcah/clay,aep/clay,iamrekcah/clay,jckarter/clay,jckarter/clay,jckarter/clay,iamrekcah/clay,aep/clay,aep/clay,jckarter/clay,jckarter/clay,aep/clay,aep/clay