Finds parameters that are not accessed

import cpp

from Parameter p
where p.isNamed() and not exists(p.getAnAccess())
select p