Detecting constructor to member mappping