Synthesis of quinazolin-4(3H)-ones via Pd(II)-catalyzed intramolecular C(sp2)-H carboxamidation of N-arylamidines.